Home » U++ Library support » Menus&Toolbars » microscopic button in a toolbar with GetMinSize()?
microscopic button in a toolbar with GetMinSize()? [message #549] |
Mon, 09 January 2006 02:50 |
|
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
I wanted to place a Button on a Toolbar but it is microscopic.
Is this normal?
//this doesn't help bar.Add(btn_run.SetLabel("Run"), btn_run.GetMinSize() );
//but this works:
bar.Add(btn_run.SetLabel("Run"), btn_run.AddFrameSize(50,20) );
But what if I want to change its size (y) depending on Label's text length?
And what is then supposed by MinSize?
P.S. I'll have a look at the sources, but if you know and have time...
[Updated on: Mon, 09 January 2006 03:09] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Fri Mar 29 08:35:02 CET 2024
Total time taken to generate the page: 0.01289 seconds
|