python 2.7 - Fixing the height of frame with resizing the window -
python 2.7 - Fixing the height of frame with resizing the window -
how prepare height of alternative frame resizing window?
i have 3 classes a ( frame ), b ( canvas ) , c ( object ) c top level.
in class c, initialise a a( master, self ) , .config( height = 40 ).
in class a, established 2 sub-frame contain check button , entry box + alternative menu, both frame , code height = 20
when run code, worked pretty well, when resize window.
if click mouse , drag down, works ok.
but if click mouse , drag upwards (to cut down height), frame disappear ( first height of frame cut down until 0 , height of canvas changed ).
if click mouse , drag down, alternative frame homecoming again
can give me thought prepare behavior?
python-2.7 tkinter
Comments
Post a Comment