Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Setting size of Tk chooseDirectory

by Anonymous Monk
on Aug 11, 2016 at 01:20 UTC ( [id://1169545]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Setting size of Tk chooseDirectory
in thread Setting size of Tk chooseDirectory

It respects both width and height
my $ds = $mw->DirSelect(qw/ -width 333333 -height 666666 -background red /);

Replies are listed 'Best First'.
Re^4: Setting size of Tk chooseDirectory
by Marshall (Canon) on Aug 11, 2016 at 01:44 UTC
    I tried your code. On my system, Active State 5.20.2, the -height has no effect whatsoever. However, width and background do as the documentation for version 1.03 says. Perhaps you have a more recent version? I just used what was in the ppm archive for my Perl version.

    Update: I looked on CPAN, latest is version 1.11 - that is probably the difference. But at the end of the day, we have something that is "ugly" on Windows. Don't know the OP's O/S, but that could be a consideration.

      Um, 1.03 was over ten years ago, its a pure perl module

      You can still $ds->geometry('6666x6666+0+0');

        I tested that with DirSelect version 1.03 and it works. Ok, is there any way to do something similar with chooseDirectory which would look a lot nicer on Windows?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1169545]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-19 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found