pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Serré <jerome.michel.se...@gmail.com>
Subject RE: Styles
Date Tue, 20 Apr 2010 15:01:44 GMT
Ok, it corresponds to  void setFill(boolean fill) 
Thank you, next time I will look for

-----Message d'origine-----
De : Greg Brown [mailto:gkbrown@mac.com] 
Envoyé : mardi 20 avril 2010 16:55
À : user@pivot.apache.org
Objet : Re: Styles

The style is "fill" (boolean). However, you will need to ensure that your
image view is also in a container that scales its content to fit.

On Apr 20, 2010, at 10:52 AM, Jérôme Serré wrote:

> The styles in wtkx file for example :
> <BoxPane styles="{horizontalAlignment:'left',
verticalAlignment:'center'}">
> 	<ImageView image="@logo.gif"/>  
> </BoxPane>
> I would like set the size of ImageView (ex : attributes height="10",
> width="30" ???)
> Is there an attribute that would automatically resize the image to the
size
> of ImageView ?
> Etc...
> 
> -----Message d'origine-----
> De : Greg Brown [mailto:gkbrown@mac.com] 
> Envoyé : mardi 20 avril 2010 16:27
> À : user@pivot.apache.org
> Objet : Re: Styles
> 
> I assume You are referring to the component styles? If so, they are simply
> the Java bean properties of the currently installed skin. So, you can look
> at the Javadoc for org.apache.pivot.skin and org.apache.pivot.skin.terra.
> 
> On Apr 20, 2010, at 10:23 AM, Jérôme Serré wrote:
> 
>> Hello,
>> 
>> 
>> 
>> Where can I find all styles for all Graphic object please ?
>> 
>> 
>> 
>> thanks
>> 
>> __
>> 
>> Cordialement
>> 
>> Jérôme Serré
>> 
>> 
>> 
>> 
> 


Mime
View raw message