in reply to How to resize mainwindow automatically

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).

Perl 6 - links to (nearly) everything that is Perl 6.