Recent

Author Topic: [solved] Toolbar - cannot change the height of Toolbuttons  (Read 686 times)

Nicole

  • Hero Member
  • *****
  • Posts: 1281
[solved] Toolbar - cannot change the height of Toolbuttons
« on: July 13, 2022, 06:09:39 pm »
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.
« Last Edit: July 14, 2022, 06:08:59 pm by Nicole »

WooBean

  • Sr. Member
  • ****
  • Posts: 301
Re: Toolbar - cannot change the height of Toolbuttons
« Reply #1 on: July 13, 2022, 06:55:24 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.

Look for property ButtonHeight (in Object inspector) at the toolbar (just here!) and set its value as you want.
Platforms: Win7/64, Linux Mint 22.1 Xia

Nicole

  • Hero Member
  • *****
  • Posts: 1281
Re: Toolbar - cannot change the height of Toolbuttons
« Reply #2 on: July 13, 2022, 07:10:46 pm »
Thank you so much!
I suspected such a thing, but dit not find the correct name of it.  :-*

 

TinyPortal © 2005-2018