fix: Aktionsleiste mittig unten verankert, Control füllt ganzen Bildschirm

- Control: anchors_preset=15 (FULL_RECT) statt fester Größe 40x40
- ActionBar: Anker auf (0.5, 1.0) — Mitte unten, unabhängig von Auflösung

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Andre 2026-03-19 22:03:13 +01:00
parent 4fbb622b86
commit bfd0e391c3

View file

@ -10,9 +10,13 @@ script = ExtResource("1_37p78")
[node name="Control" type="Control" parent="." unique_id=1898217661]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 0.0
offset_bottom = 0.0
grow_horizontal = 2
grow_vertical = 2
[node name="HealthBar" type="ProgressBar" parent="Control" unique_id=1012082084]
layout_mode = 0
@ -34,14 +38,16 @@ vertical_alignment = 1
[node name="ActionBar" type="HBoxContainer" parent="Control" unique_id=1015761408]
layout_mode = 1
anchors_preset = -1
anchor_left = 14.875001
anchor_top = 15.125001
anchor_right = 14.875001
anchor_bottom = 15.125001
offset_left = -225.00006
offset_top = -25.000061
offset_right = 224.99994
offset_bottom = 24.999939
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -234.0
offset_top = -65.0
offset_right = 234.0
offset_bottom = -10.0
grow_horizontal = 2
grow_vertical = 0
[node name="A1" type="Panel" parent="Control/ActionBar" unique_id=712323959]
custom_minimum_size = Vector2(50, 50)