I have a PerlTk app which creates its initial window as follows:
#!/usr/bin/perl use strict; use Tk; use Tk::ROText; # ... snipped for brevity ... # main(); MainLoop(); quit(); sub main { $app = MainWindow->new(-height => 500, -width => 800); $app -> configure(-background => 'white'); $app -> title("Much To Do About Nothing"); $app -> formGrid(40,30);
Unfortunately, it does not honor the specified size, and I actually get a window around about 700x250 instead of 800x500. Is this functionality broken? Is there a way to make a PerlTk application honor the requested window size?
In reply to Sizing a PerlTk app by Llew_Llaw_Gyffes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |