flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shervin Asgari <shervin.asg...@webstep.no>
Subject The style contentBackgroundCOlor is only supported by type spark.skinsSparkBUttonSkin with the theme spark,mobile
Date Mon, 26 May 2014 06:34:12 GMT
I am trying to change the background color of the entire button, but I have
only managed to change the background color of the label.

I have copied the SparkButtonSkin.mxml skin and tried to change that.

I tried changing

<s:SparkButtonSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                   minWidth="21" minHeight="21"

and add contentBackgroundColor="#f7ba9c", but this fails with the error

The style 'contentBackgroundColor' is only supported by type
'spark.skins.SparkButtonSkin' with the theme(s) 'spark, mobile'.

I think its because we are still using Halo theme, and trying to migrate
slowly to spark components.

Is there anyway we can make this work and still use our Halo theme?

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