Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: tk frame packing showing inconsistent behaviour

by ghosh123 (Monk)
on Aug 23, 2013 at 18:31 UTC ( #1050715=note: print w/replies, xml ) Need Help??


in reply to Re: tk frame packing showing inconsistent behaviour
in thread tk frame packing showing inconsistent behaviour

As per the doc , if i use -side => top, then the width of the parcel is the width of the cavity and its height is the requested height of the slave plus the -ipady and -pady options.
So I set a smaller height for the $hlistframe so that it does not use up the available vertical space and some space is still left for the $bottomframe. Also packed the $bottomframe with -side=>bottom. But it is not working.
May be I am doing something wrong. Plese help.
Thanks.

  • Comment on Re^2: tk frame packing showing inconsistent behaviour

Replies are listed 'Best First'.
Re^3: tk frame packing showing inconsistent behaviour
by Anonymous Monk on Aug 25, 2013 at 07:36 UTC

    Try reading the algorithm again, paying close attention to the options in -bold

    packorder is packorder it determines who gets dibs first, and you have $bottomframe last in the packorder

    The solution is to change the packorder

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2022-05-19 02:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?