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 » Spacing between radio buttons in Switch control
Spacing between radio buttons in Switch control [message #15933] Sun, 18 May 2008 14:14 Go to next message
enrico.detoma is currently offline  enrico.detoma
Messages: 4
Registered: May 2008
Junior Member
Hi,

is it possible to increase the spacing between radio buttons in a Switch control?

Thank you
Regards,
Enrico
Re: Spacing between radio buttons in Switch control [message #16311 is a reply to message #15933] Sat, 07 June 2008 13:52 Go to previous messageGo to next message
enrico.detoma is currently offline  enrico.detoma
Messages: 4
Registered: May 2008
Junior Member
Is it impossible?

Thanks
Enrico
Re: Spacing between radio buttons in Switch control [message #16315 is a reply to message #16311] Sat, 07 June 2008 16:27 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Not at the moment.

Maybe you can use Option modified by SwitchImage method to get what you want.

Mirek
Re: Spacing between radio buttons in Switch control [message #16322 is a reply to message #16315] Sat, 07 June 2008 21:50 Go to previous messageGo to next message
enrico.detoma is currently offline  enrico.detoma
Messages: 4
Registered: May 2008
Junior Member
Thank you

Enrico
Re: Spacing between radio buttons in Switch control [message #16323 is a reply to message #16322] Sat, 07 June 2008 22:28 Go to previous messageGo to next message
enrico.detoma is currently offline  enrico.detoma
Messages: 4
Registered: May 2008
Junior Member
I attach a patch for the main library, to add SetMinSpacing/GetMinSpacing to the Switch control, to allow setting the minimum spacing between radio buttons.

I hope it can be helpful.

Thank you
Regards
Enrico
Re: Spacing between radio buttons in Switch control [message #16358 is a reply to message #16323] Tue, 10 June 2008 13:36 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, thanks. I am not 100% sure this is what we really need, but whatever Smile

Putting it to uppsrc. Only renamed to

Switch& Switch::MinCaseHeight(int cy)

Mirek
Previous Topic: A main modeless window
Next Topic: Meter or Gauge Widget out there anywhere?
Goto Forum:
  


Current Time: Sun May 05 10:59:39 CEST 2024

Total time taken to generate the page: 0.02660 seconds