Radiobox & Carriage return

Hello wxpython community,

Is it possible to put a choice in a radio box on two lines?
I try \n but it doesn’t work, the choice is always on a single line

Thx in advance
Chris

Hi Chris,

···

On Jan 5, 2:46 am, Christian Démolis <christiandemo...@gmail.com> wrote:

Hello wxpython community,

Is it possible to put a choice in a radio box on two lines?
I try \n but it doesn't work, the choice is always on a single line

Thx in advance
Chris

I'm not seeing an obvious way to do this with the standard widget. You
will probably need to customize the widget through subclassing it,
create a composite widget or just roll your own. For the first two,
there are some hints on the wiki:

http://wiki.wxpython.org/BuildingControls

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

PyCon 2010 Atlanta Feb 19-21 http://us.pycon.org/

ok thanks Mike

···

2010/1/5 Mike Driscoll kyosohma@gmail.com

Hi Chris,

On Jan 5, 2:46 am, Christian Démolis christiandemo...@gmail.com > > wrote:

Hello wxpython community,

Is it possible to put a choice in a radio box on two lines?

I try \n but it doesn’t work, the choice is always on a single line

Thx in advance

Chris

I’m not seeing an obvious way to do this with the standard widget. You

will probably need to customize the widget through subclassing it,

create a composite widget or just roll your own. For the first two,

there are some hints on the wiki:

http://wiki.wxpython.org/BuildingControls


Mike Driscoll

Blog: http://blog.pythonlibrary.org

PyCon 2010 Atlanta Feb 19-21 http://us.pycon.org/

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en