Lazarus

Programming => LCL => Topic started by: Milsa on August 31, 2015, 09:53:58 pm

Title: How can I change SpeedButton.Height property?
Post by: Milsa on August 31, 2015, 09:53:58 pm
I have 32x32 icon. If I set AutoSize to True then SpeedButton is 68x68. If I set AutoSize to False then Height is permanently 22.
Title: Re: How can I change SpeedButton.Height property?
Post by: howardpc on August 31, 2015, 10:29:20 pm
What widgetset is this?
Here, on Windows, a speedbutton's Height (and Width) is fully configurable if AutoSize is False, whatever the pixel dimensions of its glyph.
Is the speedbutton standing alone, or parented by a bar?
Title: Re: How can I change SpeedButton.Height property?
Post by: Blaazen on August 31, 2015, 10:34:23 pm
Quote
I have 32x32 icon. If I set AutoSize to True then SpeedButton is 68x68. If I set AutoSize to False then Height is permanently 22.
I guess Height is permanently 22 when Autosize is True.

I tested it now. It seems that autosizing of SpeedButton is broken in trunk. Please report it on bugtracker.
Title: Re: How can I change SpeedButton.Height property?
Post by: Milsa on September 01, 2015, 10:27:52 am
Resolved.

I had icon 64x64. I inserted this to SpeedButton. Then I changed the icon to 32x32. SpeedButton does not forget 64x64 and AutoSize did not working correctly. I deleted SpeedButton and inserted new. Then I inserted 32x32 icon and set AutoSize to True. It is ok.

Will I insert new task to bug tracker (old dimensions was not fergeted)?
TinyPortal © 2005-2018