1. #1
    Ext GWT Premium Member
    Join Date
    Jan 2009
    Location
    Colorado Springs, CO
    Posts
    380
    Vote Rating
    5
    DavidHoffer is on a distinguished road

      1  

    Question BorderLayoutContainer missing titel/tooltip options?

    BorderLayoutContainer missing titel/tooltip options?


    I'd like to use BorderLayoutContainer but it has a couple missing features IMHO.

    1. When widgets are collapsed the title of that panel disappears. I prefer the accordion layout in this regard as all panels retain their titles when closed/open but I need two panels to be possibly open at the same time, always showing their title. Neither container seems to do this. How can I do this?

    2. Can I add a tooltip to collapsed BorderLayoutContainer panels so users know what is there? Still not a great solution to #1 above.

    I'm probably missing how to do this.

    -Dave

  2. #2
    Sencha User
    Join Date
    Nov 2009
    Posts
    51
    Vote Rating
    0
    smiletolead is on a distinguished road

      0  

    Default


    If you add title(heading) to the content panel in the specific border layout region, the title will be shown. This is the case with GXT 2.2.5. I think, it should work in GXT 3.0 as well.

  3. #3
    Ext GWT Premium Member gdlm's Avatar
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    208
    Vote Rating
    4
    gdlm is on a distinguished road

      0  

    Default


    Code:
            ContentPanel south = new ContentPanel();
            south.setTitle("Tooltip of the south content panel");
            south.setHeadingText("Title of the south content panel");
    setTitle() indeed sets the tooltip and setHeadingText() the title of the content panel, but... no tooltip nor title are visible when the south component of the BorderLayoutContainer is collapsed. Which was the original question.

Thread Participants: 2