Weird alignments

This commit is contained in:
gamer147
2026-04-10 09:46:39 -04:00
parent e2d23bec48
commit 676c82c4e5
3 changed files with 43 additions and 20 deletions

View File

@@ -12,8 +12,12 @@ grow_vertical = 2
script = ExtResource("1_3whrn")
[node name="HFlowContainer" type="HFlowContainer" parent="." unique_id=185867767]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/h_separation = 0
theme_override_constants/v_separation = 0
alignment = 2

View File

@@ -283,7 +283,7 @@ layout_mode = 2
text = "Cancel"
[node name="UnitPanel" type="Control" parent="UIBase" unique_id=1823763147]
visible = false
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
@@ -333,12 +333,13 @@ value = 12
[node name="UnitHealth" type="HBoxContainer" parent="UIBase/UnitPanel" unique_id=53239936]
layout_mode = 0
offset_left = 185.0
offset_left = 1.0
offset_top = 103.0
offset_right = 225.0
offset_bottom = 143.0
offset_bottom = 131.0
[node name="ChipBar" parent="UIBase/UnitPanel/UnitHealth" unique_id=379110810 instance=ExtResource("6_gqe5k")]
[node name="HealthChipBar" parent="UIBase/UnitPanel/UnitHealth" unique_id=379110810 instance=ExtResource("6_gqe5k")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
max_chips_per_row = 100
@@ -350,7 +351,8 @@ layout_mode = 2
size_flags_vertical = 0
texture = SubResource("AtlasTexture_manhy")
[node name="StylizedNumberDisplay" parent="UIBase/UnitPanel/UnitHealth" unique_id=1442983008 instance=ExtResource("5_55shj")]
[node name="HealthNumber" parent="UIBase/UnitPanel/UnitHealth" unique_id=1442983008 instance=ExtResource("5_55shj")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
sprite_sheet = SubResource("AtlasTexture_ox7qj")
@@ -364,7 +366,8 @@ offset_top = 133.0
offset_right = 225.0
offset_bottom = 151.0
[node name="ChipBar" parent="UIBase/UnitPanel/UnitSP" unique_id=374103132 instance=ExtResource("6_gqe5k")]
[node name="SPChipBar" parent="UIBase/UnitPanel/UnitSP" unique_id=374103132 instance=ExtResource("6_gqe5k")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
max_chips_per_row = 100
@@ -376,7 +379,8 @@ layout_mode = 2
size_flags_vertical = 0
texture = SubResource("AtlasTexture_vj7wc")
[node name="StylizedNumberDisplay" parent="UIBase/UnitPanel/UnitSP" unique_id=442319509 instance=ExtResource("5_55shj")]
[node name="SPNumber" parent="UIBase/UnitPanel/UnitSP" unique_id=442319509 instance=ExtResource("5_55shj")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
sprite_sheet = SubResource("AtlasTexture_ox7qj")
@@ -390,7 +394,8 @@ offset_top = 160.0
offset_right = 225.0
offset_bottom = 178.0
[node name="ChipBar" parent="UIBase/UnitPanel/UnitFS" unique_id=1380843979 instance=ExtResource("6_gqe5k")]
[node name="FSChipBar" parent="UIBase/UnitPanel/UnitFS" unique_id=1380843979 instance=ExtResource("6_gqe5k")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
max_chips_per_row = 100
@@ -402,7 +407,8 @@ layout_mode = 2
size_flags_vertical = 0
texture = SubResource("AtlasTexture_r8i3r")
[node name="StylizedNumberDisplay" parent="UIBase/UnitPanel/UnitFS" unique_id=1558008542 instance=ExtResource("5_55shj")]
[node name="FSNumber" parent="UIBase/UnitPanel/UnitFS" unique_id=1558008542 instance=ExtResource("5_55shj")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
sprite_sheet = SubResource("AtlasTexture_ox7qj")