Files
kryon/scripts
waozi b648eee8c7 Let title bars keep room for controls and draw in portable apps
A TitleBar's trailing_width reserves room at its right for the caller's
own controls, such as an online switch, and the result's trailing_bounds
says where to draw them; the title stays centred clear of them, or takes
what is left on a narrow bar. Portable bundles can now draw a TitleBar
through the widget host, with its leading image and dropdown options
held to the host's asset policy.
2026-10-13 17:35:52 -03:00
..