sure; I don't blame anyone in being a monkey. Just thought adding more code would clobber...
in reply to Re^5: resizing problem with Tk appl using PackForget
in thread resizing problem with Tk appl using PackForget
I tried the
this works great when hiding the to be hidden widgets. So far so good.
But then when restoring the hidden, they are restored to their 'required' width and height, rather than those they had when they were 'packForgotten'.
This seems to be the effect of the
There is a diff between:
$mw_w = $mw->width;
$mw_h = $mw->height;
After many tries I found a solution (?) by remembering the
geometry of the MW when hiding:
$mw_w = $mw->reqwidth;
$mw_h = $mw->reqheight;
and restoring this when re-packing:
$mw_geom = $mw->geometry();
So I can add that to my code in some way or another. Only thing is that I do not understand it yet ;-(