Adapt main menu to more aspect ratios

This commit is contained in:
antimundo 2024-02-27 18:35:26 +01:00
parent 135b35cfac
commit d59c782d1d
No known key found for this signature in database
GPG key ID: F83F260F8F88F0BC

View file

@ -168,8 +168,7 @@ size_flags_horizontal = 3
theme = SubResource("Theme_8521u")
theme_override_styles/panel = SubResource("StyleBoxFlat_5srfh")
[node name="SelectLevel" type="Control" parent="HBoxContainer/Panel"]
visible = false
[node name="SelectLevel" type="HBoxContainer" parent="HBoxContainer/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@ -180,9 +179,7 @@ script = ExtResource("6_5wgje")
[node name="Control" type="Control" parent="HBoxContainer/Panel/SelectLevel"]
layout_mode = 2
anchors_preset = 0
offset_right = 562.0
offset_bottom = 1080.0
size_flags_horizontal = 3
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/Panel/SelectLevel/Control"]
layout_mode = 2
@ -201,26 +198,14 @@ theme_override_font_sizes/font_size = 57
text = "Select a level"
[node name="VSeparator" type="VSeparator" parent="HBoxContainer/Panel/SelectLevel"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -2.0
offset_top = -375.0
offset_right = 2.0
offset_bottom = 375.0
grow_horizontal = 2
grow_vertical = 2
custom_minimum_size = Vector2(0, 750)
layout_mode = 2
size_flags_vertical = 4
mouse_filter = 2
[node name="Control2" type="Control" parent="HBoxContainer/Panel/SelectLevel"]
layout_mode = 3
anchors_preset = 0
offset_left = 563.0
offset_right = 1125.0
offset_bottom = 1080.0
layout_mode = 2
size_flags_horizontal = 3
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/Panel/SelectLevel/Control2"]
layout_mode = 2