flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Zarzycki (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLEX-35240) [FlexJS] Style Overrides ImageButton source Att
Date Sat, 04 Mar 2017 15:10:45 GMT

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

Piotr Zarzycki reassigned FLEX-35240:
-------------------------------------

    Assignee: Piotr Zarzycki

> [FlexJS] Style Overrides ImageButton source Att
> -----------------------------------------------
>
>                 Key: FLEX-35240
>                 URL: https://issues.apache.org/jira/browse/FLEX-35240
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.7.0
>            Reporter: Yishay Weiss
>            Assignee: Piotr Zarzycki
>             Fix For: Apache FlexJS 0.8.0
>
>
> This below code will not show the image in swf, because the style attribute overrides
the source attribute. 
> A woraround is to put 'backgroundImage' in style.
> ----
> 			<ns1:ImageButton source="assets/images/icons/align_vertical_center.png"
> 							 click="alignContentVCenterClickHandler()">
> 				<ns1:style>
> 					<ns1:SimpleCSSStyles marginLeft="5"/>
> 				</ns1:style>
> 			</ns1:ImageButton>
> ---



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message