TListView with vsIcon weird behavior on Qt
- Lazarus/FPC Version: <Lazarus 2.2.0RC3 (rev lazarus_2_2_0_RC2-37-g93e97c68) FPC 3.2.3 x86_64-linux-qt5>
- Operating System: <Ubuntu 20.04 KDE Neon 25th Anniversary 64bit>
- CPU / Bitness: <64> (64 or 32 Bit?)
What happens
So, recently I playing with Snap API just for fun to display package icons in ListView and populate them in a runtime, and the result is kinda mess. I'm not sure is that BGRA Bitmap bug or BGRA Controls bug because I'm using BGRA ImageList but using standard TImageList still produce same weird mess.
Then I added default image before adding the real icon, it's kinda much better but the alignment still some icon have kinda different width
What did you expect
I want to make it aligned vertically
Steps to reproduce
It requires bgra controls. For demonstration, here's my project https://gitlab.com/afuriza/kirana_centre. In AppForms.AppCentre.pas The first method is I populate the items first get Icons later on line 116. The result is like the first picture.
Then, I added default image before adding the real icon (you can uncomment code at line 129). The result is like the second picture.