Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Prompt does not show if a form item's titel is hovered

    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:
    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();
    Is this an intended change? Or is there a workaround to always show the prompt if the title is hovered?

    Thanks in advance

    #2
    smartgwt 4.0p 7.5.2014, Windows 7, Java 7:

    I also ran into the problem to set the hover text for any formItem's title that does not require clipping. What is the preferred way to do so?

    Comment


      #3
      reproduced on SmartGWT 4.0p (built 2014-06-02)

      SmartGWt 4.1p (built 2014-06-02) is OK

      I have the same issue. We use SmartGWT 4.0p line and upgrading to 4.1 is not preferred solution. Isomorphic, are you planning to integrate patch into 4.0p line?
      Last edited by fikeis; 2 Jun 2014, 07:15.

      Comment

      Working...
      X