|
Hi, that's an interesting way to look at it. Actually, I was about to
probe the color idea myself, but needed to better understand how to
achieve it. Where did grid_columnconfigure(3, weight=1) come from? I
don't recall seeing that with Frame. Grid has columnconfigure. I
started down that path once, but got waved off. Interesting about
master. What I've discovered is that I did not really understand the role of sticky, and the bounds of the label. I thought sticky=W meant put the blasted label to the left margin. What sticky means, according to Grayson's chapter 5 on the web, is that it allows the widget to stretch when the larger window is resized. Knowing the boundaries with color coding can help understand that, and other oddities. Label seems to always center the text. Changing the label's width and height achieves interesting insights. I tried anchor with Label and it does interesting things. The length of the text messes with matters. To put some focus on what I think is the real problem, try this. See if the text in labels lines up on the left if a column of Labels is create with these labels. vinegar pie latitude for x Snowy I haven't tried it yet, but would expect to get something like: vinegar pie latitude for x Snowy anchor with Label may move them to the left. In my case, I'm looking for stuff like: Latitude BOX Longitude BOX x BOX y BOX and not Latitude BOX Longitude BOX x BOX y BOX I want the text in the left column aligned. It doesn't really matter about the alignment of Longitude with y. One would think this would be a snap. I'm quite surprised no one seems to have considered an example along these lines. I guess everyone is center happy. I have yet to find a good source that explains Grid in a thorough way. Lots of piecemeal things. Many too brief. Perhaps the best thing I've found is Grayson's chapter 5 image editor, p86f. He has a very complex looking grid of buttons, combo boxes and images, but it all makes sense as to the layout. It took me awhile to see why he needed so many rows and columns for those 9 (actually 10) thumbnails. It's all about what goes on in the lower right corner. Unfortunately, he had no need to align the text to the left uniformly in a column. WTW W W wrote:
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
“Life is one damn thing after another."
-- Mark Twain
|
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
