"Johnston Jiaa" <[EMAIL PROTECTED]> wrote
> I heard that it's not good to mix grid and pack positioning? And I
> already wrote it in grid.
You can't mix them within a Frame but provided you are operating
in different frames you can (and should!) choose whichever is most
appropriate for that Fram
>
> Presumably because big_frame is narrower than root.
> The inner frames will only go as far as the border of big_frame.
Well, with my code, I made bg="blue" so I see that it's big enough,
and the big_frame stretches to fit inside root if i use sticky=W+E.
> Use pack(side= expand="true" )
"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 th
How do I get widgets to be on the extreme left and right sides of a
frame using the grid manager? My code is similar to this..
big_frame = Frame(root)
big_frame.grid(sticky=W+E)
left_frame = Frame(big_frame)
left_frame.grid(row=0, column=0, sticky=W)
ri