From fe502debd1222e8910a94c0d0647be85bea5694d Mon Sep 17 00:00:00 2001 From: Zenny Date: Sun, 15 Feb 2026 02:33:09 -0800 Subject: [PATCH] Fix inventory sizes --- .../ui/inventory_menu/AugmentableItemsMenu.tscn | 14 +++++++------- .../src/ui/inventory_menu/InventoryMenu.tscn | 7 +++---- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Zennysoft.Game.Ma/src/ui/inventory_menu/AugmentableItemsMenu.tscn b/Zennysoft.Game.Ma/src/ui/inventory_menu/AugmentableItemsMenu.tscn index 33b7a52c5..d52c861dc 100644 --- a/Zennysoft.Game.Ma/src/ui/inventory_menu/AugmentableItemsMenu.tscn +++ b/Zennysoft.Game.Ma/src/ui/inventory_menu/AugmentableItemsMenu.tscn @@ -34,17 +34,21 @@ script = ExtResource("1_ukqf2") [node name="CenterContainer2" type="CenterContainer" parent="."] layout_mode = 1 -anchors_preset = 5 +anchors_preset = 8 anchor_left = 0.5 +anchor_top = 0.5 anchor_right = 0.5 +anchor_bottom = 0.5 offset_left = -400.0 +offset_top = -512.5 offset_right = 400.0 -offset_bottom = 1025.0 +offset_bottom = 512.5 grow_horizontal = 2 +grow_vertical = 2 [node name="AugmentableItemsList" type="PanelContainer" parent="CenterContainer2"] unique_name_in_owner = true -custom_minimum_size = Vector2(800, 1025) +custom_minimum_size = Vector2(800, 975) layout_mode = 2 [node name="Panel" type="Panel" parent="CenterContainer2/AugmentableItemsList"] @@ -140,9 +144,6 @@ layout_mode = 2 [node name="AugmentableSlot19" parent="CenterContainer2/AugmentableItemsList/Panel/MarginContainer2/Inventory" instance=ExtResource("1_a5r0f")] layout_mode = 2 -[node name="AugmentableSlot20" parent="CenterContainer2/AugmentableItemsList/Panel/MarginContainer2/Inventory" instance=ExtResource("1_a5r0f")] -layout_mode = 2 - [node name="ConfirmAugmentContainer" type="Panel" parent="."] unique_name_in_owner = true visible = false @@ -158,7 +159,6 @@ layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 -offset_right = -40.0 grow_horizontal = 2 grow_vertical = 2 diff --git a/Zennysoft.Game.Ma/src/ui/inventory_menu/InventoryMenu.tscn b/Zennysoft.Game.Ma/src/ui/inventory_menu/InventoryMenu.tscn index 926d43b9e..8544a9f37 100644 --- a/Zennysoft.Game.Ma/src/ui/inventory_menu/InventoryMenu.tscn +++ b/Zennysoft.Game.Ma/src/ui/inventory_menu/InventoryMenu.tscn @@ -10,7 +10,7 @@ [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_7co7g"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xwkpe"] -bg_color = Color(0, 0, 0, 0.168627) +bg_color = Color(0, 0, 0, 0.603922) [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_b6rkr"] @@ -33,11 +33,10 @@ bg_color = Color(0, 0, 0, 0.745098) [node name="InventoryMenu" type="PanelContainer"] process_mode = 2 -visible = false anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 -offset_right = -480.0 +offset_right = -440.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxEmpty_7co7g") @@ -49,7 +48,7 @@ theme_override_styles/panel = SubResource("StyleBoxFlat_xwkpe") [node name="MarginContainer" type="MarginContainer" parent="Panel"] layout_mode = 2 -offset_right = 1440.0 +offset_right = 1480.0 offset_bottom = 1080.0 grow_horizontal = 2 grow_vertical = 2