a6152b9998e80961c560ca5a406849896590f41a
The panel is sized to its card, so anything that changes the card's width drags the panel with it. The status caption changes as a building works -- "producing" is shorter than "missing input", which is shorter than "output full" -- and the panel twitched every time it did. On a Smelter it also changed height, because a narrower card wraps its item chips differently. The pill now reserves room for the widest caption it can ever show, so the header keeps one width whatever the state is. The captions were spelled out in the switch that chose them, which left no way to ask for the set; they come from one function now, and the set is what the reservation is built from. Ship cards do the same with the behaviour names (REQ-UI-SHIP-BEHAVIOR), which change just as often while a ship fights. Miner card, sampled every tick for 900 ticks across two different-length captions: one distinct width, one distinct height. The reservation is what does it -- the same run without it sits at 138px, with it at 155px, the width of the longest caption. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JcReq7hVk4KUPhTDKWAG7K
Description
No description provided
Languages
C++
96%
CMake
2.2%
Python
1.2%
C
0.6%