update
This commit is contained in:
@@ -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