GTK2 autosize incorrect for TTrackBar if TickStyle := tsNone
Original Reporter info from Mantis: crlab @neurolabusc1
-
Reporter name: Chris Rorden
Original Reporter info from Mantis: crlab @neurolabusc1
- Reporter name: Chris Rorden
Description:
With GTK, the autosizing height always assumes that the TrackBar is set to the default TickStyle := tsAuto. The sizing is wrong if one uses TickStyle := tsNone. Inlcuded demo program illustrates the issue, the patch fixes the issue.
With the demo program, you can revert some Trackbars back to tsAuto to demonstrate that the old behavior is retained correctly for any trackbars with tsAuto.
Steps to reproduce:
Place a couple trackbars on a form, set each to TickStyle := tsNone, set anchoring so they should be packed one on top of the other. Run the program, note the wide space between trackbars.
Mantis conversion info:
- Mantis ID: 34418
- OS: Ubuntu / PopOS
- OS Build: 18.04
- Build: svn 59296
- Platform: System76 Oryx
- Version: 1.9 (SVN)
- Fixed in revision: r61473 (#84668366), r61676 (#4bc787b8)
- Monitored by: » huntingkashket (Andrew Zenin), » @neurolabusc1 (Chris Rorden)