我尝试使用 css 样式为面板设置填充,但它不起作用
<fx:Style>
.logo-bar{
paddingRight: 20px;
}
</fx:Style>
<s:Panel styleName="logo-bar">
<s:Label>Hello</s:Label>
</s:Panel>
但是同样的风格也适用于 flex 3 面板,我应该怎么做才能为 flex 4 面板设置填充?
我尝试使用 css 样式为面板设置填充,但它不起作用
<fx:Style>
.logo-bar{
paddingRight: 20px;
}
</fx:Style>
<s:Panel styleName="logo-bar">
<s:Label>Hello</s:Label>
</s:Panel>
但是同样的风格也适用于 flex 3 面板,我应该怎么做才能为 flex 4 面板设置填充?