-
13 Jan 2011 3:29 AM #1
add tooltip on a tabPanel
add tooltip on a tabPanel
Hi,
Is there a way to add a tooltip on each tabItem of a TabPanel component, as when the mouse is over the tabItem title, a tooltip appeared.
I've tried to add a tooltip on a tabItem but the tooltip appear only when the item is clicked, and not when the mouse is over the title of the tabitem.
Thanks in advance for your help.
ed
-
13 Jan 2011 3:09 PM #2
How have you added this? Tooltips implemented by GXT never show onclick.I've tried to add a tooltip on a tabItem but the tooltip appear only when the item is clicked
-
14 Jan 2011 1:08 AM #3
Hi sven, I would like a behaviour as described in this picture
tooltiptabitem.png
but it's seems that 's not possible to do this simply.
by example, the code below, doesn't implement this behaviour.
An idea how I can implement it, will be very appreciate.PHP Code:final TabPanel lTabs = new TabPanel();
TabItem infosGenTabItem = new TabItem();
infosGenTabItem .setToolTip(new ToolTipConfig("Information", "Prints the current document"));
lTabs.add(infosGenTabItem );
brgds Ed
-
14 Jan 2011 1:51 AM #4
Have you tried to directly set it to the header?
Code:tabItem.getHeader() .setToolTip(new ToolTipConfig("Information", "Prints the current document"));
-
14 Jan 2011 1:59 AM #5
Similar Threads
-
Complex ToolTip attached to a TabPanel
By MakFracta in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 21 Oct 2009, 8:16 AM -
Tooltip from a Tab in TabPanel
By ItsMee in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 23 Jun 2008, 10:48 AM -
how can i add a tooltip on the treeNode?
By joshokn in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 16 Apr 2007, 10:16 PM -
how to add tooltip to an element?
By humpdi in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 3 Mar 2007, 10:19 PM


Reply With Quote