-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have the following snippet of code in my class which extends grid
.....
Div divLabel = new Div();
divLabel.setAlign("right");
divLabel.setParent(inParentRow);
Label label = new Label("User Name");
Popup popup = new Popup();
Html html = new Html();
html.setContent("Enter the user name");
//html.setParent(popup);
popup.appendChild(html);
label.setTooltip(popup);
// label.setTooltiptext("Enter the user name");
label.setParent(divLabel);
.....
When I hover over the label I do not see the help text but if I do
label.setTooltiptext("Enter the user name");
everything is fine.
Am I doing something wrong that it is not appearing in the popup?
Arvinder
Asked: 2009-05-15 21:49:49 +0800
Seen: 168 times
Last updated: May 18 '09