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: 1298
Registered: November 2005
Location: London, UK
Senior 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: Mon Jul 06 22:56:49 CEST 2020

Total time taken to generate the page: 0.01442 seconds