diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-27 20:30:15 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-27 20:30:15 +0100 |
| commit | 5ee13d8cee52505056a14c3ba3793d0e56afa202 (patch) | |
| tree | 856c32e86382d1a4a0161271fdc7cc714560cee2 /src/world.cpp | |
| parent | Stucklaunch: alternate attack/use and expose spam rate (diff) | |
| download | hl2h-5ee13d8cee52505056a14c3ba3793d0e56afa202.tar.gz hl2h-5ee13d8cee52505056a14c3ba3793d0e56afa202.zip | |
GUI: wrap all text instead of truncating
- Remove ellipsis truncation from text_in; text is never cut to fit.
- Add a wrapping helper that breaks at spaces and, for long words such as
paths, at character boundaries. Card titles, control labels, info rows,
sections, tooltips and toasts now wrap and their rows/panels grow.
- Use ISurface::GetTextSize (slot 75) for real glyph widths, with the old
estimate only as a fallback before the surface/fonts exist.
- Dynamic card header height for wrapped titles; Active/Bind controls stay
vertically centered. Slider controls are vertically centered in taller
wrapped rows.
- Auto-size System buttons to their labels.
- Tooltips wrap to a panel sized by the widest line.
- Drop the duplicate config path from the footer; the System page shows it
wrapped, so the footer hint fits without clipping.
Diffstat (limited to 'src/world.cpp')
0 files changed, 0 insertions, 0 deletions
