mirror of
https://github.com/Nokorpo/LibreAim.git
synced 2025-06-10 18:10:50 +09:00
Adapt main menu to more aspect ratios
This commit is contained in:
parent
135b35cfac
commit
d59c782d1d
1 changed files with 7 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue