Hi Reuger, here is an example
<?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> <![CDATA[ import flatspark.enums.BrandColorEnum; import flatspark.enums.ButtonSizeEnum; ]]> </fx:Script> <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> On Tue, Jul 19, 2016 at 6:14 PM, OK <okrue...@edscha.com> wrote: > Vincent Sotto wrote > > theres a bug when i set a buttonicon as default button of a form, the > skin > > changes back to default spark. > > any workaround on this issue or is this already reported? > > thank you > > I'm just back from a holiday trip so my head is completely resetted. But I > remember that I've had this issue also in past. I tried to reproduce it now > with no success. It seems to work fine for whatever reason. > Could you provide some test code or could you create a JIRA ticket? > > Thanks, > Olaf > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/flatspark-bug-on-default-button-tp54000p54003.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >