Presentation styles / Style attributes reference |
Button style presentation attributes apply to a button element.
Attribute | Description | GDC CLIENT | HTML5 CLIENT |
---|---|---|---|
buttonType | Defines the rendering of a button. Values
can be:
|
Yes | Yes |
scaleIcon | Defines the scaling behaviors of
the associated icon. Independently of the style value, if an icon must be scaled, the source image will never be upscaled to avoid as much as possible pixelization or blurring the image. The notable exception is when the image come from an SVG file which can be upscaled or downscaled without any penalty. If the icon must anyway be made bigger, the image will be centered and a transparent border will be added around to "fill" the empty space. It will allow user to mix big icon with smaller one but also to keep widget alignment If a scaling take place, the aspect ratio of the original image will be kept, keeping non square source as non square scaled icon. Values can be:
|
Yes | Yes |