Re: tackling the packer



k:arel wrote:
i'm experiencing some trouble here working with the packer (TCL-version
8.4 and tixwish8.1.8.3)

i add 2 frames to a master frame, named ".bottom", i've set different
colours so you can follow up my explanation
NB: you should maximize your window first!

* the master frame, .bottom, is coloured green
so everything green showing means the other frames don't expand like
they should do

* the top subframe, .bottom.fr_tit, is coloured red and is working
fine: it is at the top of the window and only expanded over X

* the lower subframe, .bottom.fr_can, is coloured blue and is NOT
working fine: for some reasen, it glues to the bottom and is NOT
expanding over Y (it is over X)

we're not seeing anything blue, but all green thus i've a fault
somewhere
but i AM adding the both subframes with "-side top", so normally they
should both be at the top of the window

the goal is: all the subframes, .bottom.fr_tit and .bottom.fr_can,
aligned at the top and only .bottom.fr_can expanded

While someone else has answered your question -- you may want to consider using the grid geometry manager instead of the packer. I suspect you will find it easier to use.


--
+--------------------------------+---------------------------------------+
| Gerald W. Lester               | "The man who fights for his ideals is |
| Gerald.Lester@xxxxxxx          |  the man who is alive." -- Cervantes  |
+--------------------------------+---------------------------------------+
.



Relevant Pages