You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2013/03/07 12:42:13 UTC

[jira] [Resolved] (PIVOT-898) fillIcon in buttons seems to let images display with wrong dimension

     [ https://issues.apache.org/jira/browse/PIVOT-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandro Martini resolved PIVOT-898.
----------------------------------

    Resolution: Fixed

Resolved (just committed in 2.0.x branch and soon even in trunk): 
it wasn't using the padding of the button when setting new dimensions for the image (with fillIcon enabled).
Note that now the Text at the bottom of Buttons (with fillIcon enabled) is visible, as should be.

                
> fillIcon in buttons seems to let images display with wrong dimension
> --------------------------------------------------------------------
>
>                 Key: PIVOT-898
>                 URL: https://issues.apache.org/jira/browse/PIVOT-898
>             Project: Pivot
>          Issue Type: Bug
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 2.0.3
>
>         Attachments: PIVOT-898_first_workaround_temporary.patch
>
>
> When using fillIcon in images it seems that images (inside buttons) are displayed with wrong dimension, and even wrong vertical alignment (but this could be due to the parent container). For example run the sample svg_example.bxml under org.apache.pivot.examples.svg , just updated both with a PNG image and the usual SVG image.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira