CSS does not work though

components|ButtonIcon {
    skinClass : ClassReference("flatspark.skins.ButtonIconSkin");
}

so i have to set this for all my buttons, but im glad its working

On Wed, Jul 20, 2016 at 2:43 PM, Vincent Sotto <dsreil...@gmail.com> wrote:

> thank you it works!
>
> On Wed, Jul 20, 2016 at 1:12 PM, OK <okrue...@edscha.com> wrote:
>
>> Hi,
>> passing the skin class (skinClass="flatspark.skins.ButtonIconSkin") to the
>> default button works for me [1]
>> .
>> HTH,
>> Olaf
>>
>>
>> [1] Modified test case:
>> <?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>
>>         <s:Form defaultButton="{btntest}">
>>                 <s:TextInput/>
>>                 <components:ButtonIcon id="btntest" label="Primary Button"
>>                                                            width="213"
>> height="{ButtonSizeEnum.Large}"
>>
>>  brand="{BrandColorEnum.Primary}"
>> skinClass="flatspark.skins.ButtonIconSkin"/>
>>                 <components:ButtonIcon id="btntest2" label="Primary
>> Button2"
>>                                                            width="213"
>> height="{ButtonSizeEnum.Large}"
>>
>>  brand="{BrandColorEnum.Primary}"/>
>>         </s:Form>
>> </s:Application>
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-flex-development.2333347.n4.nabble.com/flatspark-bug-on-default-button-tp54000p54028.html
>> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>>
>
>

Reply via email to