ListBox.ItemHeight ignored when lbOwnerDrawFixed
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
ListBox.ItemHeight ignored when lbOwnerDrawFixed. Issue is related to 21770 but this is lbOwnerDrawFixed. As Theo observed in discussion under 21770, ListBox cannot draw items under "some minimal height", but it can draw items with higher height well.
I guess it can be fixed so the listbox in GTK2 will draw correctly items at least when ItemHeight > "some minimal height".
Steps to reproduce:
Compile demo with GTK2. Add a few items, then switch to lbOwnerDrawVariable and add next few items.
There's no difference in Qt but in GTK2 is.
Additional information:
Lazarus 1.1 r41739M FPC 2.7.1 x86_64-linux-qt
BTW, I observed that Qt raises many MeasureDraw calls. Should I do separate bug report for it?
Mantis conversion info:
- Mantis ID: 24629
- Build: 41739
- Version: 1.1 (SVN)
- Fixed in revision: 41772 (#59f1dd35)