Rudy
Rudy

Reputation: 7044

removing border of a panel in flex

Is there a way to remove the left+right+bottom border of a mx:Panel?

basically I want to have the right UI instead of the left one ( check the screenshot )

enter image description here

I know that the default spark Panel is able to do so, but I just need to use Flex 3.

Here is what I tried already :

Upvotes: 1

Views: 1877

Answers (1)

moropus
moropus

Reputation: 3782

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.

Upvotes: 3

Related Questions