in reply to tk frame packing showing inconsistent behaviour
G'day ghosh123,
I recommend that you read the Tk::pack documentation, paying particular attention to the "THE PACKER ALGORITHM" and "EXPANSION" sections.
You specify that $hlistframe should take up the available vertical space with "-side => 'top', -expand => 1", then seem surprised that it does so: claiming it's "showing inconsistent behaviour".
After you've used up the available space, you add $bottomframe (curiously, given the variable name, as "-side => 'top'") which, obviously, is out of sight until you enlarge the window. You also use "-fill => 'both'" for this frame which, in the context of the code you've posted, makes no sense.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: tk frame packing showing inconsistent behaviour
by ghosh123 (Monk) on Aug 23, 2013 at 18:31 UTC | |
by Anonymous Monk on Aug 25, 2013 at 07:36 UTC |