1. #11
    Sencha User
    Join Date
    Nov 2009
    Posts
    71
    Vote Rating
    0
    valery.stroeder is on a distinguished road

      0  

    Default


    The test case code I gave in the previous post runs with GXT 2.1.1 but not in GXT 2.2.1 -> I suppose that it's a bug.
    If i override updateContent() with no code like this :

    Code:
    Button button = new Button("button");
    ToolTip tooltip = new ToolTip(button) {
         @Override
         protected void updateContent() {
         }
    };
    tooltip.add(new Button(" button in the tooltip"));
    It works, but it seems a little bit touchy. Don't you think that it's a bug in 2.2.1? Is there a prettier way to do what I want ?

  2. #12
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,753
    Vote Rating
    113
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    That is the way to go, you are just lucky it worked befor (thats why i told you also in the beginning to do this override). Extending a class is the most pretty thing you can do.

Similar Threads

  1. Replies: 1
    Last Post: 14 Sep 2010, 12:33 PM
  2. When loaded by Ajax, the tab title for BasiDialog widget disappears!
    By jaggybala in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 22 Oct 2007, 5:11 AM
  3. tooltip on the title bar?
    By newbie in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 12 Jul 2007, 8:13 AM
  4. title and tooltip
    By wavel in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 7 May 2007, 10:09 AM