User settings menu placed at the same vertical level settingsBtn and horizontally at it right.

This commit is contained in:
Ghazi Triki 2013-09-11 11:39:44 +01:00
parent 2007d6d7bb
commit 211a260a69

View File

@ -186,7 +186,7 @@
myMenu = Menu.createMenu(null, myMenuData, true);
myMenu.variableRowHeight = true;
myMenu.show(this.x + settingsBtn.x + 2, this.y + this.height + 25);
myMenu.show(this.x + settingsBtn.x + settingsBtn.width + 2, this.y + this.height);
myMenu.addEventListener(MenuEvent.ITEM_CLICK, menuClickHandler);
myMenu.setFocus();
}