简体   繁体   English

在flex中删除面板的边框

[英]removing border of a panel in flex

Is there a way to remove the left+right+bottom border of a mx:Panel? 有没有办法删除mx:Panel的左,右,下边框?

basically I want to have the right UI instead of the left one ( check the screenshot ) 基本上我想拥有正确的UI而不是左边的UI(检查屏幕截图)

在此输入图像描述

I know that the default spark Panel is able to do so, but I just need to use Flex 3. 我知道默认的Spark Panel可以做到,但是我只需要使用Flex 3。

Here is what I tried already : 这是我已经尝试过的:

  • padding (seems only changing the children) 填充(似乎只在改变孩子)
  • borderStyle = none is removing the color of the header borderStyle = none不会删除标题的颜色

Specify the following styles for your panel: 为面板指定以下样式:

borderThicknessLeft: 0;
borderThicknessTop: 0;
borderThicknessBottom: 0;
borderThicknessRight: 0;

There's quite useful Flex Style Explorer when you stucked with styles. 坚持使用样式时,有一个非常有用的Flex样式资源管理器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM