Don't turn on variableRowHeight for every menu, but do have submenus
inherit their parent's setting. It turns out, it wasn't just a problem with MediaWrapper. Using any image-based icon seems to cause flex internal boo-boos. Too weird. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@267 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -93,7 +93,6 @@ public class CommandMenu extends ScrollableArrowMenu
|
||||
public function CommandMenu ()
|
||||
{
|
||||
super();
|
||||
variableRowHeight = true;
|
||||
|
||||
itemRenderer = new ClassFactory(CommandMenuItemRenderer);
|
||||
|
||||
@@ -185,6 +184,7 @@ public class CommandMenu extends ScrollableArrowMenu
|
||||
menu.maxHeight = this.maxHeight;
|
||||
menu.verticalScrollPolicy = this.verticalScrollPolicy;
|
||||
menu.arrowScrollPolicy = this.arrowScrollPolicy;
|
||||
menu.variableRowHeight = this.variableRowHeight;
|
||||
|
||||
menu.parentMenu = this;
|
||||
menu.owner = this;
|
||||
|
||||
Reference in New Issue
Block a user