flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLEX-34844) Simple Button border does not appear in SWF
Date Tue, 19 May 2015 00:44:01 GMT

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

Alex Harui edited comment on FLEX-34844 at 5/19/15 12:43 AM:
-------------------------------------------------------------

Button is also intended for buttons without text like the up and down arrows in ScrollBars,
etc.  You should be able to specify CSS background-image.

But if you want same-ness on both sides, we could concoct a default ButtonView that shows
what the browser will show.


was (Author: aharui):
Button is also intended for buttons without text like the up and down arrows in ScrollBars,
etc.  You should be able to specify CSS background-image.

But if you want same-ness on both sides, we could concoct a default ButtonView that shows
that the browse will show.

> Simple Button border does not appear in SWF
> -------------------------------------------
>
>                 Key: FLEX-34844
>                 URL: https://issues.apache.org/jira/browse/FLEX-34844
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.0.3
>         Environment: Flash SWF - no grey border, but click events occur
> HTML - works
>            Reporter: Michael Schmalle
>            Assignee: Peter Ent
>
> The Button for SWF does not show it's border, the click events still occur.
> HTML shows border and fires click event.
> {code}
> <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
>              xmlns:js="library://ns.apache.org/flexjs/basic">
>     <fx:Script><![CDATA[
>         private function onClick():void
>         {
>             trace("Clicked " + myButton.name);
>         }
>         ]]></fx:Script>
>     
>     <js:beads>
>         <js:VerticalLayout/>
>     </js:beads>
>     <js:Button id="myButton" click="onClick()" width="100" height="40"/>
> </js:ViewBase>
> {code}



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

Mime
View raw message