wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

Stateful skin not working wich CanvasButtonAccordionHeader #193

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a stateful skin mxml component
(http://livedocs.adobe.com/flex/3/html/help.html?content=skinning_7.html)
2. Create a css class that embeds the skin: 

.myStyle {
 skin:ClassReference('path.to.your.SkinClass');
}
3. Apply the skin to a CanvasButtonAccordionHeader using the styleName
   mxml tag

What is the expected output? What do you see instead?
The skin should be applied, but the standard flex skin
shows up instead. 

What version of the product are you using? On what operating system?
flexlib svn checkout, Revision 158
Windows Vista

Please provide any additional information below.

When applying the same skin to a 
CanvasButton, it works correctly.
(See the attached testcase)

Original issue reported on code.google.com by doo...@gmail.com on 27 Jan 2009 at 5:57

Attachments:

GoogleCodeExporter commented 8 years ago
I ran into this problem as well.  I also noticed that padding styles were not 
being
applied in addition to the stateful skin not being applied.

Original comment by ericmatt...@gmail.com on 25 Feb 2009 at 6:48

GoogleCodeExporter commented 8 years ago
I think you have to use the other styles like selected-up-skin, disabled-skin...

Original comment by frode....@gmail.com on 12 Jun 2009 at 10:06