W dniu 2011-06-19 13:12, Chris Bartlett pisze:
2011/6/19 Chris Bartlett <[email protected] <mailto:[email protected]>>

    ... perhaps I just misunderstood the purpose of PRIMARY_REGION?


Yes, I think I did misunderstand.

Looking at the source for the skin, the PRIMARY_REGION enum value is only ever referred to in the
TerraSplitPaneSkin.setSize(int, int) method.
http://svn.apache.org/repos/asf/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraSplitPaneSkin.java

I think it refers to how the SplitPane will adjust if the SplitPane's width or height are changed, and not the 'splitRatio'

Chris

Thank you very much for the detailed answer.
Can you point me to a tutorial or an example how to install a custom skin on a subclassed component?

Regards,
Piotr Kołaczkowski

--
Piotr Kołaczkowski
Instytut Informatyki, Politechnika Warszawska
Nowowiejska 15/19, 00-665 Warszawa
e-mail: [email protected]
www: http://home.elka.pw.edu.pl/~pkolaczk/

Reply via email to