fix(shell): dock handle to the right edge; command bar fits

Wider consumable tiles overflowed the command bar, shoving END TURN under
the dock column. Trim the vitals min-width (230->120) and END TURN
(150->140) and separation so the row fits — END TURN lands cleanly at the
bottom-right, below the dock.

Move the dock handle to the outer (right) side per mock 2a: the menu now
sits left of the handle and slides right off-screen to hide, the handle
staying at the world's right edge. Dock sits flush to that edge.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-11 09:59:23 -05:00
parent fb541d05cb
commit 58880554c2
2 changed files with 10 additions and 10 deletions

View File

@@ -118,9 +118,9 @@ anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -268.0
offset_left = -228.0
offset_top = -210.0
offset_right = -28.0
offset_right = -8.0
offset_bottom = 210.0
grow_horizontal = 0
grow_vertical = 2
@@ -135,11 +135,11 @@ offset_left = 28.0
offset_top = -150.0
offset_right = -28.0
grow_vertical = 0
theme_override_constants/separation = 24
theme_override_constants/separation = 20
alignment = 1
[node name="Vitals" type="VBoxContainer" parent="Split/World/CommandBar"]
custom_minimum_size = Vector2(230, 0)
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
size_flags_vertical = 8
theme_override_constants/separation = 8
@@ -285,7 +285,7 @@ theme_override_font_sizes/font_size = 11
theme_type_variation = &"Mono"
[node name="EndTurn" type="Button" parent="Split/World/CommandBar"]
custom_minimum_size = Vector2(150, 60)
custom_minimum_size = Vector2(140, 60)
layout_mode = 2
size_flags_vertical = 4
theme_type_variation = &"PrimaryCTA"

View File

@@ -6,7 +6,7 @@
[node name="SystemDock" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 240.0
offset_right = 220.0
offset_bottom = 420.0
theme = ExtResource("2")
script = ExtResource("1")
@@ -15,8 +15,8 @@ script = ExtResource("1")
layout_mode = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -190.0
offset_right = -10.0
offset_left = -216.0
offset_right = -36.0
offset_bottom = 316.0
grow_horizontal = 0
theme_override_constants/separation = 10
@@ -76,9 +76,9 @@ anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -222.0
offset_left = -26.0
offset_top = -52.0
offset_right = -196.0
offset_right = 0.0
offset_bottom = 52.0
grow_horizontal = 0
grow_vertical = 2