fix add menu being too big

This commit is contained in:
Crispy 2021-06-05 00:13:06 +02:00
parent cf2b82b5fb
commit 7ab22b73d8
2 changed files with 9 additions and 6 deletions

View file

@ -3,8 +3,11 @@
[ext_resource path="res://ui/add_menu.gd" type="Script" id=1]
[node name="AddMenu" type="PanelContainer"]
anchor_right = 1.0
anchor_top = 1.0
anchor_bottom = 1.0
margin_top = -78.0
margin_right = 78.0
grow_vertical = 0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
@ -13,8 +16,8 @@ __meta__ = {
[node name="MarginContainer" type="MarginContainer" parent="."]
margin_left = 7.0
margin_top = 7.0
margin_right = 2041.0
margin_bottom = 2041.0
margin_right = 71.0
margin_bottom = 71.0
custom_constants/margin_right = 32
custom_constants/margin_top = 32
custom_constants/margin_left = 32
@ -23,6 +26,6 @@ custom_constants/margin_bottom = 32
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
margin_left = 32.0
margin_top = 32.0
margin_right = 2002.0
margin_bottom = 2002.0
margin_right = 32.0
margin_bottom = 32.0
alignment = 2

View file

@ -39,7 +39,7 @@ __meta__ = {
}
[node name="ListOverlayItem" parent="VSplitContainer/Control/Overlays" instance=ExtResource( 7 )]
margin_top = 1717.0
margin_top = 1622.0
margin_bottom = 1845.0
overlay_name = "MainOverlay"