[PATCH] Proper V-Center of items in viewunit_dlg.pp
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Proper vertical center of items in viewunit_dlg.pp, i.e. Project -> Forms ... and Project -> Units ...
Code is implemented to OnDrawItem. I tried to implement it in OnMeasureItem but it doesn't work with GTk2.
Patch is tested with Qt4 and GTk2. It would be nice if somebody test with hi-DPI and in Win, Cocoa and Carbon.
Steps to reproduce:
Look at that dialog, apply patch and look again.
Additional information:
Lazarus 2.1.0 r59269M FPC 3.3.1 x86_64-linux-qt
Mantis conversion info:
- Mantis ID: 34402
- OS: Linux
- OS Build: Chakra 64-bit
- Build: 59269
- Platform: amd64
- Version: 1.9 (SVN)
- Fixed in revision: r59272 (#e1b2a50f)