Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 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... 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 Apr 18 06:13:47 CEST 2024

Total time taken to generate the page: 0.01753 seconds