As far as I know, and someone with more experience might correct me. If what
you want to do is this
···
--------------------------------------------------------
wxStaticText | wxTxtCtrl | wxStaticText | wxTextCtrl |
--------------------------------------------------------
wxStaticText | wxTxtCtrl | | |
--------------------------------------------------------
wxStaticText | wxTxtCtrl | | wxStaticText|
--------------------------------------------------------
with blank spaces. You can do it by adding spaces to the sizer
If you want
--------------------------------------------------------
wxStaticText | wxTxtCtrl | wxStaticText | wxTextCtrl |
--------------------------------------------------------
wxStaticText | <--------- wxTxtCtrl ---------> |
--------------------------------------------------------
wxStaticText | <--- wxTxtCtrl ---> | wxStaticText|
--------------------------------------------------------
with controls spanning several cells you can't do this. You will need to use
nested sizers. Maybe a top level 2*3 flex grid and then 3 boxSizers
containing [wxTxtCtrl,wxStaticText,wxTextCtrl] [wxTxtCtrl] and
[wxTxtCtrl,wxStaticText]
Rich.
-----Original Message-----
From: alienoid [mailto:alienoid@is.lg.ua]
Sent: 13 March 2002 06:43
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython] wxFlexGridSizer usage
Hello everybody,
I am newbie to wxPython and have a question.
How can I achieve this using wxFlexGridSizer?
--------------------------------------------------------
wxStaticText | wxTxtCtrl | wxStaticText | wxTextCtrl |
--------------------------------------------------------
wxStaticText | wxTextCtrl |
--------------------------------------------------------
wxStaticText | wxTextCtrl | wxStaticText|
--------------------------------------------------------
Thanks in advance
--
Best regards,
alienoid mailto:alienoid@is.lg.ua
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users