update
This commit is contained in:
@@ -14,13 +14,6 @@ corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v0gbf"]
|
||||
bg_color = Color(0.205117, 0.205117, 0.205117, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_t7gjp"]
|
||||
draw_center = false
|
||||
corner_radius_top_left = 25
|
||||
@@ -28,15 +21,8 @@ corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s5iik"]
|
||||
bg_color = Color(0.34452, 0.55695, 0.888021, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0jrl0"]
|
||||
bg_color = Color(0.247059, 0.466667, 0.807843, 1)
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v0gbf"]
|
||||
bg_color = Color(0.205117, 0.205117, 0.205117, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
@@ -49,7 +35,22 @@ corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0jrl0"]
|
||||
bg_color = Color(0.247059, 0.466667, 0.807843, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s5iik"]
|
||||
bg_color = Color(0.34452, 0.55695, 0.888021, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[node name="PopupPanel" type="PopupPanel"]
|
||||
oversampling_override = 1.0
|
||||
initial_position = 1
|
||||
size = Vector2i(293, 140)
|
||||
visible = true
|
||||
@@ -63,20 +64,20 @@ custom_minimum_size = Vector2(240, 110)
|
||||
offset_left = 15.0
|
||||
offset_top = 15.0
|
||||
offset_right = 278.0
|
||||
offset_bottom = 858.0
|
||||
offset_bottom = 125.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="FilenameLabel" type="Label" parent="VBox"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "File: example.png"
|
||||
text = "文件: example.png"
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="URLLabel" type="Label" parent="VBox"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "From: example.com"
|
||||
text = "来自: example.com"
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBox"]
|
||||
@@ -93,9 +94,9 @@ custom_minimum_size = Vector2(80, 35)
|
||||
layout_mode = 2
|
||||
mouse_default_cursor_shape = 2
|
||||
theme = ExtResource("2_0jrl0")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_v0gbf")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_t7gjp")
|
||||
text = "Deny"
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_v0gbf")
|
||||
text = "取消"
|
||||
|
||||
[node name="OkButton" type="Button" parent="VBox/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(80, 35)
|
||||
@@ -103,10 +104,10 @@ layout_mode = 2
|
||||
mouse_default_cursor_shape = 2
|
||||
theme = ExtResource("2_0jrl0")
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_s5iik")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_0jrl0")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_cuj6o")
|
||||
text = "Accept"
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_0jrl0")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_s5iik")
|
||||
text = "确定"
|
||||
|
||||
[node name="FileDialog" type="FileDialog" parent="."]
|
||||
access = 2
|
||||
|
||||
@@ -33,8 +33,6 @@ corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_lnt4f"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cs7kk"]
|
||||
bg_color = Color(0.15967, 0.15967, 0.15967, 1)
|
||||
corner_radius_top_left = 30
|
||||
@@ -42,6 +40,8 @@ corner_radius_top_right = 30
|
||||
corner_radius_bottom_right = 30
|
||||
corner_radius_bottom_left = 30
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_lnt4f"]
|
||||
|
||||
[node name="DownloadProgress" type="PanelContainer"]
|
||||
custom_minimum_size = Vector2(376, 80)
|
||||
offset_right = 376.0
|
||||
@@ -58,7 +58,7 @@ size_flags_horizontal = 3
|
||||
|
||||
[node name="FilenameLabel" type="Label" parent="HBox/VBox"]
|
||||
layout_mode = 2
|
||||
text = "Downloading file..."
|
||||
text = "下载文件中..."
|
||||
text_overrun_behavior = 3
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="HBox/VBox"]
|
||||
@@ -72,14 +72,14 @@ show_percentage = false
|
||||
modulate = Color(0.7, 0.7, 0.7, 1)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Preparing..."
|
||||
text = "准备中..."
|
||||
|
||||
[node name="CancelButton" type="Button" parent="HBox"]
|
||||
custom_minimum_size = Vector2(30, 30)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_lnt4f")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_cs7kk")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_lnt4f")
|
||||
text = "✕"
|
||||
|
||||
[connection signal="pressed" from="HBox/CancelButton" to="." method="_on_cancel_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user