"Johnston Jiaa" <[EMAIL PROTECTED]> wrote

> big_frame = Frame(root)
> big_frame.grid(sticky=W+E)
>
> left_frame = Frame(big_frame)
> left_frame.grid(row=0, column=0, sticky=W)
>
> right_frame = Frame(big_frame)
> right_frame.grid(row=0, column=1, sticky=E)
>
> Supposing the root window is wider than the left and right frames 
> put
> together, why doesn't left_frame go all the way to the left and
> right_frame all the way to the right with a space between them?

Presumably because big_frame is narrower than root. The inner
frames will only go as far as the border of big_frame. Also there
may be some default padding around the grid edges (I rarely use
the grid its too rigid, so I'm not sure)

> do I make it do that?

Use pack(side= expand="true" )     ;-)

Alan G 


_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to