diff options
Diffstat (limited to 'game/src')
3 files changed, 15 insertions, 17 deletions
diff --git a/game/src/Game/GameSession/GameSession.tscn b/game/src/Game/GameSession/GameSession.tscn index d515feb..04cfe1b 100644 --- a/game/src/Game/GameSession/GameSession.tscn +++ b/game/src/Game/GameSession/GameSession.tscn @@ -26,7 +26,12 @@ _game_session_menu = NodePath("GameSessionMenu") [node name="MapView" parent="." instance=ExtResource("4_xkg5j")] [node name="MainManagamentPanel" parent="." instance=ExtResource("3_wxhjf")] -layout_mode = 1 +layout_mode = 0 +anchors_preset = 0 +anchor_right = 0.0 +anchor_bottom = 0.0 +grow_horizontal = 1 +grow_vertical = 1 [node name="MapControlPanel" parent="." instance=ExtResource("3_afh6d")] layout_mode = 1 diff --git a/game/src/Game/GameSession/MainManagamentPanel/MainManagamentPanel.tscn b/game/src/Game/GameSession/MainManagamentPanel/MainManagamentPanel.tscn index 0eb9730..a335800 100644 --- a/game/src/Game/GameSession/MainManagamentPanel/MainManagamentPanel.tscn +++ b/game/src/Game/GameSession/MainManagamentPanel/MainManagamentPanel.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=3 uid="uid://cyr5e31ucu44d"] +[gd_scene load_steps=11 format=3 uid="uid://cyr5e31ucu44d"] [ext_resource type="Script" path="res://src/Game/GameSession/MainManagamentPanel/BudgetPanel.gd" id="1_5jsre"] [ext_resource type="Script" path="res://src/Game/GameSession/MainManagamentPanel/ProductionPanel.gd" id="1_7nvhi"] @@ -10,19 +10,20 @@ [ext_resource type="Script" path="res://src/Game/GameSession/MainManagamentPanel/MilitaryPanel.gd" id="8_oxtyy"] [ext_resource type="Script" path="res://src/Game/GameSession/MainManagamentPanel/CountryPanel.gd" id="9_c6qjc"] -[node name="MainManagamentPanel" type="Control"] -layout_mode = 3 +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_d4afl"] + +[node name="MainManagamentPanel" type="PanelContainer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 +mouse_filter = 2 +theme_override_styles/panel = SubResource("StyleBoxEmpty_d4afl") [node name="VBoxContainer" type="VBoxContainer" parent="."] custom_minimum_size = Vector2(700, 100) layout_mode = 2 -offset_right = 700.0 -offset_bottom = 100.0 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 diff --git a/game/src/Game/GameSession/MainManagamentPanel/PopupPanel.tscn b/game/src/Game/GameSession/MainManagamentPanel/PopupPanel.tscn index 9682847..05c3c8c 100644 --- a/game/src/Game/GameSession/MainManagamentPanel/PopupPanel.tscn +++ b/game/src/Game/GameSession/MainManagamentPanel/PopupPanel.tscn @@ -29,17 +29,9 @@ func _ready(): [node name="PopupPanel" type="Control"] layout_mode = 3 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -125.0 -offset_top = -100.0 -offset_right = 125.0 -offset_bottom = 100.0 -grow_horizontal = 2 -grow_vertical = 2 +anchors_preset = 0 +offset_right = 250.0 +offset_bottom = 200.0 script = ExtResource("1_u7a8e") [node name="Body" type="Panel" parent="."] |