Hi Panyasan,

Today panyasan wrote:

>
> Hello,
>
> I have problems with a Table widget within a splitpane. Unfortunately, the
> code is too complex to be converted into a playground example, but maybe
> somebody of you has had and has solved the same problem:
>
> No matter what combination of flex, height, maxHeight, allowStrechY etc I
> tried, I cannot get the table, which is nested in a vbox composite, to
> change its size with the splitpane. In fact, unless I give the table an
> explicit height, it will mess up the layout of the splitpane, ignoring the
> flex values of the containing composite, and growing far beyond the flex
> value it is given. With the fixed height, I can get it to work, but of
> course then I cannot shrink the splitpane container below the table's
> height.

My guess is, that you are not using the splitPane.add methode
properly. Note that the second argument is the flex value and not
some position indicator ...

cheers
tobi


-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to