Add a ListBox HeaderHeight property so headers can be shorter than rows
- Status
- Fixed
- Fixed in
- v26.9.4
- Area
- desktop web
- Source discussion
- https://forum.objo.dev/d/1172-listbox-resize-column-width-by-moving-pointer-over-a-column-divider/10
- Last updated
- 2026-09-28
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
A ListBox header row currently has no height of its own: on web the header is always exactly as tall as a row, and on desktop it auto-sizes to the same height as the rows. That wastes vertical space when the header exists only to provide the column-resize dividers — for example, leaving HasHeaders = True with blank header text still consumes a full row's height.
Add a HeaderHeight property to the desktop and Web ListBox. HeaderHeight = 0 (the default) keeps today's behaviour where the header matches the row height, while a positive value pins the header to that height. A ListBox with tall rows can then have a slim header strip that is still big enough to grab the column dividers and resize columns.