PDA

View Full Version : Multiple panels with one template?



hevole
27 May 2009, 10:07 AM
i have a few panels nested in a wizard-styled master panel with card layout, which is created like


var masterPanel = new Ext.Panel({
layout:'card',
items:[p1,p2,p3,p4],
});
and I now want to add a formatting template to all of the panels so that they follow a similar format (which I have done with defaults ) and contain some common items such as a logo,
How?

does CSS work, and if so, how?