sizers and proportions

<[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
HI All,

 

I am trying to wrap my mind around the proportion values in the .Add methods
for the various sizers.

 

If I have a horizontal box sizer, and I add two vertical box sizers and I
want the left one to be 1/3 of the window and the right to be 2/3 of the
window,  would my proportions be for the left 1, and the right 2?

 

What if I had 4 equal sized areas, would the proportions be 1 for each
control? And would the number of controls matter? If I wanted them to take
up the same space, so if it was 4,5,6 etc the proportion would just be 1 for
all of them right?

 

Last question these are just exercises to understand how this is done:

 

I saw an issue on the internet that someone was trying to add three text
controls to a horizontal box sizer.  He needed the proportions to be 4, 3,
16 respectivly.  Given these numbers what would this do?

 

The reason I am asking this guys is because I am blind.  And I have a good
sence of space, but if I understand the proportions my work will be much
easier.

 

Thanks in advanced for any help.

 

Best,

 

Juan

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/00c101d59c52%24d752d940%2485f88bc0%24%40gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.