What GUI toolkit are you using?
I was under the impression that Tk does that by default, at least if you use the pack geometry managers. (Though it's been some time since I last use Tk, so I might be wrong).
In reply to Re: How to resize mainwindow automatically
by moritz
in thread How to resize mainwindow automatically
by ch123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |