pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Kołaczkowski <pkola...@ii.pw.edu.pl>
Subject Re: User resizable panes
Date Sun, 19 Jun 2011 12:14:46 GMT
W dniu 2011-06-19 13:12, Chris Bartlett pisze:
> 2011/6/19 Chris Bartlett <cbartlett.x@gmail.com 
> <mailto:cbartlett.x@gmail.com>>
>
>     ... 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: pkolaczk@ii.pw.edu.pl
www: http://home.elka.pw.edu.pl/~pkolaczk/


Mime
View raw message