Announcement

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

    bug: IMenuButton with long title looses an arrow button

    Hello,

    I suspect that there is a bug in smartGWT: if you create a menu button with long title, arrow icon gets lost.

    Here is an example based on your testcase, I tested it with Enterprise skin:
    Code:
             Menu menu = new Menu();  
       
             MenuItem newItem = new MenuItem("New", "icons/16/document_plain_new.png", "Ctrl+N");  
       
             MenuItem openItem = new MenuItem("Open", "icons/16/folder_out.png", "Ctrl+O");  
       
             menu.setItems(newItem, openItem);
       
             IMenuButton menuButton = new IMenuButton("long long long title File", menu);  
             menuButton.draw();
    I assume its a bug, since menu must have an arrow icon.
    Do you have a workaround for it?
    Attached Files
Working...
X