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:
I assume its a bug, since menu must have an arrow icon.
Do you have a workaround for it?
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();
Do you have a workaround for it?