show a title in viewport

  • Hi,

    i want to show the title of the the south element when it collapsed. How can i do this?

    Thanks


  • sorry but with this i cant collapse the region :(


  • Try this:


    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
    });
    }
    }
    })


  • Well apparently that code has been removed, I will see if I can track it down, try looking at the feed viewer code in the Ext 1.x latest distribution for it.


  • With CSS and an image, check out the Feed Viewer 3 in the examples for how this is done with the west region, which can easily be adaptable to the south.


  • Well, it's something like that anyway. You'll figure it out.


  • sorry, but in the feed viewer 3 i see nothing from this :(







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about show a title in viewport , Please add it free.

    editTags: xn--4cr.com