PDA

View Full Version : [CLOSED] panel.setBorder wont restore a border ?



zz9pa
4 Dec 2013, 8:05 AM
Test Case
JS Fiddle https://fiddle.sencha.com/#fiddle/20m

Sure I'm doing something silly.
I want to be able to toggle the border on a panel - I can do

panel.setBorder(false)

to turn off the border - but

panel.setBorder(true)

doesn't turn it back on

Example here :

http://jsfiddle.net/exr6D/2


Any clues as to what I'm doing wrong ?

Kevin Jackson
6 Dec 2013, 12:13 PM
Thanks for the report! I have opened a bug in our bug tracker.

jcdang
7 Dec 2013, 12:17 AM
You can add the property manageBodyBorders: true to the panel as a workaround.