flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Sotto <dsreil...@gmail.com>
Subject Re: flatspark bug on default button
Date Wed, 20 Jul 2016 07:19:10 GMT
thank you reuger, its all working now!

On Wed, Jul 20, 2016 at 2:19 PM, OK <post@olafkrueger.net> wrote:

> Maybe this is the better solution [1], adopted from here [2].
>
> Olaf
>
>
> [1] Using "emphasized" style attribute:
>
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>                            xmlns:s="library://ns.adobe.com/flex/spark"
>                            xmlns:mx="library://ns.adobe.com/flex/mx"
> minWidth="955"
>                            minHeight="600"
> xmlns:components="flatspark.components.*">
>         <fx:Script>
>
>         </fx:Script>
>
>         <fx:Style>
>                 @namespace s "library://ns.adobe.com/flex/spark";
>                 @namespace mx "library://ns.adobe.com/flex/mx";
>                 @namespace components "flatspark.components.*";
>
>                 components|ButtonIcon.emphasized
>                 {
>                         skinClass:
> ClassReference("flatspark.skins.ButtonIconSkin");
>
>                 }
>         </fx:Style>
>         <s:Form defaultButton="{btntest}">
>                 <s:TextInput/>
>                 <components:ButtonIcon id="btntest" label="Primary Button"
>                                                            width="213"
> height="{ButtonSizeEnum.Large}"
>
>  brand="{BrandColorEnum.Primary}" />
>                 <components:ButtonIcon id="btntest2" label="Primary
> Button2"
>                                                            width="213"
> height="{ButtonSizeEnum.Large}"
>
>  brand="{BrandColorEnum.Primary}"/>
>         </s:Form>
> </s:Application>
>
>
> [2]: https://forums.adobe.com/thread/880144
>
>
>
>
> --
> View this message in context:
> http://apache-flex-development.2333347.n4.nabble.com/flatspark-bug-on-default-button-tp54000p54033.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message