You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Olaf Krüger (JIRA)" <ji...@apache.org> on 2014/12/19 13:11:13 UTC

[jira] [Commented] (FLEX-34695) FlatSpark ButtonIcon: Add property "fixedAspectRatio" to allow the user to control ButtonIcon sizes directly

    [ https://issues.apache.org/jira/browse/FLEX-34695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14253327#comment-14253327 ] 

Olaf Krüger commented on FLEX-34695:
------------------------------------

Maybe I'm wrong but my understanding with 'aspectRatio' is that it means the proportion between 'width' and 'height'.
But the 'fixedAspectRatio' property only influence the 'font size' respectively 'icon size' overall. There's no way to stretch the vector icon for instance.
Perhaps 'fixedFontSize' would be a better self-declared name?


> FlatSpark ButtonIcon: Add property "fixedAspectRatio" to allow the user to control ButtonIcon sizes directly
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-34695
>                 URL: https://issues.apache.org/jira/browse/FLEX-34695
>             Project: Apache Flex
>          Issue Type: Improvement
>    Affects Versions: Apache Flex 4.14.0
>            Reporter: Mahmoud Ali
>            Assignee: Mahmoud Ali
>            Priority: Minor
>             Fix For: Apache Flex 4.14.0
>
>
> Right now  the user can't break the aspect ratio of the ButtonIcon because even if he defines a custom fontSize and iconFontSize the button will keep the aspect ratio of "ExtraSmall", "Small", "Normal" or "Large".
> Create a property that lets the user break the proportion, defining the size he wants.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)