TListView - Items height is changing when assigning ImageIndex in first row
Original Reporter info from Mantis: Dibo
-
Reporter name: Krzysztof Dibowski
Original Reporter info from Mantis: Dibo
- Reporter name: Krzysztof Dibowski
Description:
Hi,
I have program where only one item can have image index. There is a weird height behavior. When assigning image in first row then all items height is changed to bigger. If I set image to item > 1 then all heights back to old size. See attach demo and video.
I guess that it is some kind of image and text height calculation. Maybe it could be calculated when SmallImages is assigned (from TImageList.Height)?
Regards
Steps to reproduce:
Run attached demo and double click on first item, then double click on rest items. Demo is based on OwnerData but same problem with normal state
Additional information:
Lazarus 1.7 from SVN
FPC 2.6.4
Kubuntu 14.04 64 bit
Qt widgetset
Mantis conversion info:
- Mantis ID: 29182
- OS: Kubuntu
- OS Build: 14.04 64 bit
- Platform: Linux
- Version: 1.5 (SVN)
- Fixed in revision: 50785 (#8115c28e)