Refactor HUD and marketplace layout for improved responsiveness and usability

This commit is contained in:
2025-04-27 18:07:18 +02:00
parent fd78f4f5b3
commit 29d8a93ece
4 changed files with 8 additions and 12 deletions

View File

@@ -32,7 +32,6 @@ health_progressbar = NodePath("Panel/PanelContainer/ProgressBar")
lives_label = NodePath("Panel/PanelContainer/Lives")
[node name="Panel" type="Panel" parent="."]
custom_minimum_size = Vector2(0, 16)
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
@@ -42,10 +41,11 @@ theme_override_styles/panel = SubResource("StyleBoxFlat_aa3sf")
[node name="PanelContainer" type="HBoxContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 10
anchors_preset = 15
anchor_right = 1.0
offset_bottom = 16.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 10
[node name="Health Label" type="Label" parent="Panel/PanelContainer"]

View File

@@ -55,4 +55,4 @@ layout_mode = 2
size_flags_vertical = 3
theme_override_constants/h_separation = 8
theme_override_constants/v_separation = 8
columns = 3
columns = 2