Hello,
I've got a problem regarding the display of a prompt message if the user hovers over a form item's title.
If the title of a form item is hovered, the prompt set via FormItem.setPrompt() is not shown, unless the title is clipped and 'showClippedTitleOnHover' is set to 'true'. This behaviour seems to exist since SmartGWT 4.0. In Version 3.1 the prompt was shown, even if the title was not clipped.
I use SmartGWT LGPL 4.0p and Chrome 32.0.1700.107 m
Here is a little example:
Is this an intended change? Or is there a workaround to always show the prompt if the title is hovered?
Thanks in advance
I've got a problem regarding the display of a prompt message if the user hovers over a form item's title.
If the title of a form item is hovered, the prompt set via FormItem.setPrompt() is not shown, unless the title is clipped and 'showClippedTitleOnHover' is set to 'true'. This behaviour seems to exist since SmartGWT 4.0. In Version 3.1 the prompt was shown, even if the title was not clipped.
I use SmartGWT LGPL 4.0p and Chrome 32.0.1700.107 m
Here is a little example:
Code:
DynamicForm form = new DynamicForm(); form.setWidth(130); form.setClipItemTitles(true); form.setColWidths(30, 100); TextItem item1 = new TextItem("item1", "Name"); item1.setPrompt("This prompt is shown if the title is hovered"); item1.setShowClippedTitleOnHover(true); TextItem item2 = new TextItem("item2", "Name"); item2.setPrompt("This prompt is not shown if the title is hovered"); item2.setShowClippedTitleOnHover(true); item2.setClipTitle(false); final TextItem item3 = new TextItem("item3", "Name"); item3.setPrompt("This prompt is not shown if the title is hovered"); item3.setShowClippedTitleOnHover(false); form.setItems(item1, item2, item3); form.draw();
Thanks in advance
Comment