Sorry for the delay.
I agree with Soner. The component looks good.
Correction to my earlier comment: This would not replace PageControl in Lazarus IDE Component Palette, but would be inside each page of the PageControl.
Let's see if I have time next weekend to experiment more with this.
I was responding to the idea of using this component as a CoolBar in the IDE. Otherwise, we would have to use different components for it, depending on whether the wrap option is on or off.
No, the idea was not to replace the CoolBar but to improve the Component Palette. The CoolBar has a bug of its own. It adjusts its height like it wanted to wrap its buttons but it doesn't.
Please see the 2 bug reports I linked in the first post. In my opinion the option '
Automatically adjust IDE main window height' is quite useless. The height should always be adjusted when either the CoolBar or the Component Palette wrap their view and change their height.
But, maybe some people have different preferences and resize the main window manually. Thus the options can stay there.
Both the CoolBar and the Component Palette must have an option to not wrap and thus not change their height.
When '
Show complete component palette' is off, the small vertical ScrollBar provided by the PageControl is unusable at least in my system. A TPageScroller would improve that.