"qtip" not displaying for TextButton
I am trying to add "qtip" directly to the element.By using "getElement().setAttribute", does not work.
**In Firebug, I do see the "qtip" attribute attached to the DIV element, but, when i hover over Button, nothing happens. Any ideas ?
TextButton shadowButton = new TextButton(DMCTextConstants.INSTANCE.shadowButtonLabel());
Correct PhiLho - but it can also be applied to any parent of the dom element that has the qtip attribute. This allows creating only one QuickTip for a single form, or window, which has tradeoffs either way.
Make one QuickTip if you expect many/most elements to be hoverable, and don't want to pay the cost of creating many instances, and having many things watching mouse events over the app. Make several if you can pin down where exactly the events will occur, as to not catch events in parts of the app where no quick tip is possible.