<?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"
>
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
s|VGroup {
gap: 150;
left: 30;
}
</fx:Style>
<s:VGroup>
<s:Label text="text1" />
<s:Label text="text1" />
</s:VGroup>
</s:Application>
The VGroup is 30 Pixel from left, as assumed (this is my proof that the style is used) But it ignores the given gap. When i feed gap="150" directly into the VGroup-Element, it works. So why is this ignored when coming over css?
谢谢。
cu, Markus