use strict;
use Tk;
my $main = MainWindow->new(-title => "This is a test of a long title",
-width => 500);
MainLoop;
When I run this on a Windows XP box, the window's width is such that the
title is mostly obscured. On a Win98 box, on the other hand, the title
is fully visible. What's more, changing the -width option seems to have
no effect on the window width on XP. Am I missing something? (To the
best of my knowledge, both machines have the same version of Tk.)
--
Eric Amick
Columbia, MD
It's not uncommon for newbies to expect more from the -width option
than it can deliver. Check out the geometry() method in the Tk::Wm pod.
--
Go to http://MarcDashevsky.com to send me e-mail.
> It's not uncommon for newbies to expect more from the -width option
> than it can deliver. Check out the geometry() method in the Tk::Wm pod.
This is not their fault. I would expect the -width option to work as
expected. There is no reason for it no to.
--Ala
Absolutely. I regret that what I wrote conveyed otherwise.