[issue18132] buttons in turtledemo disappear on small screens

Jan Kanis report at bugs.python.org
Tue Jun 3 20:46:31 CEST 2014


Jan Kanis added the comment:

I wasn't aware that mixing grid and pack was a bad idea, as I was looking over turtledemo to learn how to use tkinter. The patch replaces a packing in one frame with a grid. All direct children of the graph_frame are gridded. graph_frame itself is still packed and so are the children of btn_frame which is a child of graph_frame. 

Also I wasn't able to find a clear definition of what is meant by 'master window' in the grid/pack warning, but supposedly that is the top level Tk() rather than a parent widget. I would offer to create a better patch but Lita Cho already did so in #21597.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18132>
_______________________________________


More information about the Python-bugs-list mailing list