BuildDrawer: compact center-bottom panel + section headers

Was a full-width 600px sheet covering 83% of the screen with ~75%
empty space.  Now auto-sized, anchored bottom-center, ~30% wide.
Build tab groups items into Structures / Furniture / Production
with header labels.  Buttons 80→72, tab strip 48→36, 4→5 cols.
'Build quarry' → 'Quarry' for row consistency.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
megaproxy 2026-05-16 16:51:01 +01:00
parent 5a6ec53b12
commit c63926a7ce
2 changed files with 69 additions and 50 deletions

View file

@ -177,6 +177,9 @@ const TABLE: Dictionary = {
&"ui.build_drawer.build": "Build",
&"ui.build_drawer.stockpile": "Stockpile",
&"ui.build_drawer.cancel": "Cancel",
&"ui.build_drawer.section.structures": "Structures",
&"ui.build_drawer.section.furniture": "Furniture",
&"ui.build_drawer.section.production": "Production",
&"tool.chop": "Chop trees",
&"tool.mine": "Mine rocks",
&"tool.dig_grave": "Dig grave",
@ -194,7 +197,7 @@ const TABLE: Dictionary = {
&"tool.workbench_millstone": "Millstone",
&"tool.workbench_hearth": "Hearth",
&"tool.workbench_cremation_pyre": "Cremation Pyre",
&"tool.paint_quarry": "Build quarry",
&"tool.paint_quarry": "Quarry",
&"tool.stockpile_general": "Stockpile",
&"tool.graveyard": "Graveyard",
&"tool.plant_tree": "Plant tree",