show a title in viewport
i want to show the title of the the south element when it collapsed. How can i do this?
Thanks
Ext.override(Ext.layout.BorderLayout.Region, {
setTitle: function(t) {
this.updateTitle(t);
if (this.collapsedTitleEl) {
this.collapsedTitleEl.innerHTML = t;
}
else if (this.collapsedEl) {
this.collapsedTitleEl = dh.append(this.collapsedEl.dom, {
tag: 'div',
cls: 'x-unselectable x-layout-panel-hd-text',
unselectable: 'on',
style:{"float":"left"},
html: t
});
}
}
})
#If you have any other info about this subject , Please add it free.# |