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 » U++ Widgets - General questions or Mixed problems » Fit control to text
Fit control to text [message #5803] Tue, 17 October 2006 01:31 Go to previous message
antonio is currently offline  antonio
Messages: 2
Registered: October 2006
Location: iTALY
Junior Member
I would like to create a function like this


int res=RadioDialog
("Select an option | Option 1 | Option 2 | Option 3")


Which should show a dialog with radio options (Option 1, 2 etc ) and return user choice in res variable.

The problem for me is to get the size of the options text and therefore set the size of the dialog windows.

In other words: how can I fit a button (or any other widget with text inside) to its caption text.

Thanks in advance.
 
Read Message
Read Message
Previous Topic: Problem with ColumnList (with example) [BUG/FIXED]
Next Topic: StdFont(11) in DocEdit and LineEdit
Goto Forum:
  


Current Time: Wed Jun 05 02:39:32 CEST 2024

Total time taken to generate the page: 0.01642 seconds