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

:)

The DirSelect gizmo pays attention to -width, but not -height. However, it can be resized with the mouse. The disadvantage is that DirSelect is really ugly looking on Windows.

Its pure perl, WidgetDump shows you all the objects (children) and all their modifiable option, everything from icons to colors to fonts to heights

  • Comment on Re^2: Setting size of Tk chooseDirectory

Replies are listed 'Best First'.
Re^3: Setting size of Tk chooseDirectory
by Anonymous Monk on Aug 11, 2016 at 01:20 UTC
    It respects both width and height
    my $ds = $mw->DirSelect(qw/ -width 333333 -height 666666 -background red /);
      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');