View difference between Paste ID: 1y9yJvxu and tvrTsxkx
SHOW: | | - or go back to the newest paste.
1-
In an external style sheet I have the following:
1+
//In an external style sheet I have the following:
2
3
@namespace controlbars "package.to.controlbars"
4
5
controlbars|BottomControlBar
6
{
7
  fontFamily: openSansRegular;
8
  fontSize: 10
9
}
10
11
s|Label
12
{
13
  fontFamily: openSansRegular;
14
  fontSize:14
15
}
16
==========================================================
17-
Then in a custom class BottomControlBar that inherits from Group
17+
//Then in a custom class BottomControlBar that inherits from Group
18
19
<s:Group>
20
  <fx:MetaData>
21
    [Style(name="fontFamily", type="String", inherit="yes")]
22
    [Style(name="fontSize", type="uint", inherit="yes")]
23
  </fx:MetaData>
24
25
  <s:Group>
26
    <s:HGroup>
27
      <s:Label /> // the label here does not pick up fontFmaily and fontSize from BottomControlBar
28
    </s:HGroup>
29
  </s:Group>
30
</s:Group>