flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxime Cowez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33354) [button] define the placement of icon (iconPlacement) in skin [ButtonSkin]
Date Thu, 17 Jan 2013 13:54:22 GMT

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

Maxime Cowez commented on FLEX-33354:

It's in ButtonSkin's base class: SparkButtonSkin
> [button] define the placement of icon (iconPlacement) in skin [ButtonSkin]
> --------------------------------------------------------------------------
>                 Key: FLEX-33354
>                 URL: https://issues.apache.org/jira/browse/FLEX-33354
>             Project: Apache Flex
>          Issue Type: Brainstorming
>          Components: Spark: Button, Spark: ToggleButton
>    Affects Versions: Apache Flex 4.9.0
>            Reporter: Marcus Fritze
>            Priority: Minor
> I think it would be better to define the placement of the icon in the button via Skin.
Currently, we set iconPlacement (left, right, bottom, top). I realized that the iconDisplay
is a SkinPart since Flex 4.5, but I can't see it in the default ButtonSkin. And the layout
of the icon, label and custom skin-parts is wrong when I use the "icon" and a Custom Skin
for the Spark Button / ToggleButton.
> Why isn't the iconDisplay in the ButtonSkin?

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

View raw message