Let's make all CommandMenus variableRowHeight.
- What's the harm in it? Does it cause menu to do more calculation? What the fuck gus, they should have only implemented one code path and KISS. - it seems to be necessary when using separators. They are slim. When not used in a menu with separators, the separators are these hulking beasts. - it seems that when a submenu is added, things are going variable anyway. So: consistency. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@809 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -176,6 +176,7 @@ public class CommandMenu extends Menu
|
||||
itemRenderer = new ClassFactory(getItemRenderer());
|
||||
|
||||
verticalScrollPolicy = ScrollPolicy.OFF;
|
||||
variableRowHeight = true;
|
||||
addEventListener(MenuEvent.ITEM_CLICK, itemClicked);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user