-
25 Nov 2010 3:12 AM #11
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 :
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 ?Code:Button button = new Button("button"); ToolTip tooltip = new ToolTip(button) { @Override protected void updateContent() { } }; tooltip.add(new Button(" button in the tooltip"));
-
25 Nov 2010 3:21 AM #12
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
-
Tooltips: header:false, title:null does not eliminate the tooltip title element
By rjanos in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 14 Sep 2010, 12:33 PM -
When loaded by Ajax, the tab title for BasiDialog widget disappears!
By jaggybala in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 22 Oct 2007, 5:11 AM -
tooltip on the title bar?
By newbie in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 12 Jul 2007, 8:13 AM -
title and tooltip
By wavel in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 7 May 2007, 10:09 AM


Reply With Quote