U++ framework
Do not panic. Ask here before giving up.

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 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1324
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... Smile

[Updated on: Mon, 09 January 2006 03:09]

Report message to a moderator

 
Read Message
Read Message
Read Message
Next Topic: Menu callbacks
Goto Forum:
  


Current Time: Thu Nov 26 13:35:32 GMT+1 2026

Total time taken to generate the page: 0.00530 seconds