In a simple mobile Flex app, I have a simple View that has a styleName assigned to a VGroup within it. The decleration is within the same view (for sake of trying to make this work, but it's in an external css if I figure out a way to make this work).
The padding's I'm assigning are just NOT working at all. Nothing. While if I specify in the VGroup directly it's paddingTop or another style, it works fine
Here's the View:
<?xml version="1.0" encoding="utf-8"?>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<s:Label text="Hello" />
Anyone have an idea why ?
I'm using Flex 4.6/AIR 3.6 at the moment, tried it with Flex 4.9.1/AIR 3.4 too, same behavior.
Is this a bug ? Am I doing something wrong ? Is there a hack/trick to make this work other than specifying the styles directly in the MXML ?
Just realized that the paddings in the VGroup aren't styles anymore but are properties. Damn those spark components
I guess that's why, and I find it's a bummer. I know I could hack this, but damn me!