PDA

View Full Version : framed panel ignores ui config



chinabuffet
21 May 2011, 7:41 PM
Ext.onReady(function() {

pnl = Ext.create("Ext.panel.Panel", {
title: "Hello!",
ui: "foo",
width: 300,
height: 100,
renderTo: document.body
});

});

// pnl.ui == "foo"


Ext.onReady(function() {

pnl = Ext.create("Ext.panel.Panel", {
title: "Hello!",
frame: true,
ui: "foo",
width: 300,
height: 100,
renderTo: document.body
});

// pnl.ui == "default-framed"

});

Is that actually intended?

evant
21 May 2011, 7:44 PM
http://www.sencha.com/forum/showthread.php?134082-4.0.1-ui-setting-ignored-when-frame-true