【发布时间】:2014-08-09 14:23:43
【问题描述】:
我想设置 MX Panel 的背景颜色。我可以更改标题的文本颜色,但不能更改背景颜色。
我正在使用以下代码:
.Panel {
textAlign: center;
borderColor: #33cccc;
borderThicknessLeft: 6;
borderThicknessTop: 0;
borderThicknessBottom: 10;
borderThicknessRight: 6;
roundedBottomCorners: true;
cornerRadius: 8;
headerHeight: 22;
backgroundAlpha: 0.97;
highlightAlphas: 0.34, 0.06;
dropShadowEnabled: true;
shadowDistance: 8;
shadowDirection: left;
dropShadowColor: #5b3d24;
titleStyleName: "mypanelTitle";
}
.mypanelTitle {
background-color: #5b3d24;
color: #5b3d24;
background: #5b3d24;
fontFamily: Arial;
fontSize: 12;
fontWeight: bold;
}
请帮我设置标题颜色。
谢谢 卡皮尔
【问题讨论】:
标签: css actionscript-3 air panel