in reply to Re: Tk Optionmenu question
in thread Tk Optionmenu question

This is fantastic! Now all I have to do is find a way to alter the width of the box as it sits in the main window and I'll be golden.

Thanks again

Replies are listed 'Best First'.
Re: Re: Re: Tk Optionmenu question
by Chmrr (Vicar) on Jan 29, 2002 at 00:09 UTC

    One solution is to add -width => 42 in the code for creating the BrowseEntry. The other option is to diddle with the arguments to pack, specifically the -expand and -grow options.

    perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'

      You're too good. I was going to fiddle with this when I got a chance, but as it turns out, you beat me to the punch!

      Thanks again.