style: 顶栏速度按钮改为等宽自适应布局
This commit is contained in:
@@ -44,12 +44,12 @@ text = "时间"
|
||||
label_settings = SubResource("LabelSettings_bn2o5")
|
||||
|
||||
[node name="Value_Time" type="Label" parent="HBoxContainer" unique_id=1229577188]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 8
|
||||
size_flags_stretch_ratio = 2.0
|
||||
label_settings = SubResource("LabelSettings_bn2o5")
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Label_Reputation" type="Label" parent="HBoxContainer" unique_id=985110673]
|
||||
layout_mode = 2
|
||||
@@ -67,39 +67,48 @@ label_settings = SubResource("LabelSettings_bn2o5")
|
||||
[node name="SpeedGroup" type="HBoxContainer" parent="HBoxContainer" unique_id=2144893126]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 3.0
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="Button_Pause" type="Button" parent="HBoxContainer/SpeedGroup" unique_id=2144893127]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(64, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 3.0
|
||||
theme_override_fonts/font = ExtResource("1_pa2rn")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "暂停"
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Button_Speed1" type="Button" parent="HBoxContainer/SpeedGroup" unique_id=2144893128]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(48, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 2.0
|
||||
theme_override_fonts/font = ExtResource("1_pa2rn")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "1x"
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Button_Speed5" type="Button" parent="HBoxContainer/SpeedGroup" unique_id=2144893129]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(48, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 2.0
|
||||
theme_override_fonts/font = ExtResource("1_pa2rn")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "5x"
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Button_Speed20" type="Button" parent="HBoxContainer/SpeedGroup" unique_id=2144893130]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(48, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 2.0
|
||||
theme_override_fonts/font = ExtResource("1_pa2rn")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "20x"
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="placeholder_1" type="Label" parent="HBoxContainer" unique_id=1042446504]
|
||||
layout_mode = 2
|
||||
|
||||
Reference in New Issue
Block a user