[Patch] TCoolBar
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Patch that improves TCoolBar.
- implements Break property
- Bands can be sized and moved with mouse at runtime
- implemented Bitmap and FixedBackground
- implemented FixedOrder and FixedSize
- added GrabStyle and GrabWidth
- bands can have image from imagelist
- text is now painted via ThemeServices (instead of built-in labels)
Note that I have no Delphi to compare, I had only a few screenshots and some vague description, so I don't know whether I implemented it correctly. I am not sure with sizing, moving and Vertical mode.
BandMaximize and BiDi mode are not yet implemented.
I would rather implement correctly normal mode and then finish the BiDi.
There are many changes in coolbar.inc so I attach full file too.
I tested with Qt (designtime+rruntime) and GTK2 (only runtime).
Please tests on Win and Carbon.
Additional information:
Lazarus 1.1 r42801M FPC 2.7.1 x86_64-linux-qt
Mantis conversion info:
- Mantis ID: 25026
- OS: Linux
- OS Build: Chakra 64-bit
- Build: 42801
- Platform: amd64
- Version: 1.1 (SVN)
- Fixed in revision: r44812 (#36d87156)
- Monitored by: » @martin_frb (Martin Friebe)