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.