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:[email protected]]
> Envoyé : mardi 20 avril 2010 16:27
> À : [email protected]
> 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é
>>
>>
>>
>>
>