ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxpython-users
wxpython-users
Re: [wxpython-users] Grid layouting problem
by Robin Dunn other posts by this author
May 10 2008 4:04PM messages near this date
[wxpython-users] Grid layouting problem | [wxpython-users] Html with css
Prashant Saxena wrote:
>  Hi,
>  
>  I am trying to create a panel for 7 data types. Some how I am not able 
>  to align them properly. There are few issues here.
>  
>  1. No matter the order of data types, the label has to be right aligned
>  2. Color, Float and Bool are working fine because they are controlled by 
>  one sizer. It's same for 'string' and 'option' type.
>  3. 'File' and 'Point' are not able to aligned properly.

You'll probably have better luck using a wxFlexGridSizer or a 
wx.GridBagSizer.

I suggest that you play with sizer layouts in a tool like XRCed or 
wxGlade to help you get a better idea of how they do their job, and how 
different parameters affect layout.  Don't jump into the tool with the 
sole desire of solving this particular problem, but take the time to 
experiment and get a better feel for the Sizer philosophy.  You'll 
eventually have an "Ah ha!" moment and sizers will start to make sense 
for you.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Prashant Saxena
Robin Dunn

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved