PDA

View Full Version : Are anchored tooltips working in GXT 2.0 ?



Glimpse
28 Jul 2009, 7:33 AM
Hello,

I'm trying to set an anchored tooltip on a Button, but the tooltip is always displayed at the bottom right of the button, regardless the anchor String I give to myToolTipConfig.setAnchor().

Is this a bug? Can you give a working example?

I'm using GWT 1.7 and GXT 2.0.1...

Thank you very much!

Glimpse
28 Jul 2009, 7:36 AM
Here is the piece of code I've written:

ToolTipConfig config = new ToolTipConfig();
config.setText("Submits the form");
config.setAnchor("t");
config.setAnchorToTarget(true);
submitButton.setToolTip(config);

sven
28 Jul 2009, 7:37 AM
Moving this to the help forum The roweditor for example uses anchoring.

Glimpse
12 Aug 2009, 11:40 PM
Thanks. But I still have problem with it.
I think I need explanations about anchored tooltips: what are they supposed to do? How they are supposed to be displayed? I tried with "top", "bottom", "left" and "right" and the tooltip remains the same, positionned at the right of a Button...

Andrey Minogin
24 Aug 2009, 11:53 AM
I also miss the instructions.
Thanks!