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  |
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.
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 23:10:51 CEST 2025
Total time taken to generate the page: 0.01181 seconds
|