Forum > LCL

[solved] Toolbar - cannot change the height of Toolbuttons

(1/1)

Nicole:
https://forum.lazarus.freepascal.org/index.php?topic=42626.0

I found the link above and the suggestion for "autosize".
This does not work for me.

I have a toolbar of a height of 50.
And a toolbutton of a height of 22.
I want it to have 48 at least, because I use an image for the item.

What can I do?

I use Lazarus 2.2. and Windows 10.

WooBean:

--- Quote from: Nicole on July 13, 2022, 06:09:39 pm ---
I have a toolbar of a height of 50.
And a toolbutton of a height of 22.
I want it to have 48 at least, because I use an image for the item.

What can I do?

I use Lazarus 2.2. and Windows 10.

--- End quote ---

Look for property ButtonHeight (in Object inspector) at the toolbar (just here!) and set its value as you want.

Nicole:
Thank you so much!
I suspected such a thing, but dit not find the correct name of it.  :-*

Navigation

[0] Message Index

Go to full version