diff --git a/src/game/lib/button/typing_app_button.js b/src/game/lib/button/typing_app_button.js index b68569b..6030750 100644 --- a/src/game/lib/button/typing_app_button.js +++ b/src/game/lib/button/typing_app_button.js @@ -52,31 +52,9 @@ function TypingAppButton(type, x, y, iconSprite, buttonText, appInfo) { ); break; } - /* - setting.setStrokeColor( - 0xffffff, //0x444488, - 0x6666aa, - 0x6666aa, - 0x333333 - ); - setting.setButtonColor( - 0xaaaadd, - 0xddddff, - 0xddddff, - 0x666666 - ); - setting.setTextColor( - "#844", - "#a66", - "#a66", - "#333" - ); - */ setting.fontStyle = { font: "22px Arial", - boundsAlignH: "center", // left, center. right - boundsAlignV: "middle", // top, middle, bottom fill: "#fff" }; @@ -88,13 +66,13 @@ function TypingAppButton(type, x, y, iconSprite, buttonText, appInfo) { this.clickEvent ); - this.text.x = 30; + this.text.x = 140; if(iconSprite != null) { this.icon = iconSprite.sprite; this.buttonIcon = this.button.addChild(this.icon); - this.buttonIcon.x = 40; + this.buttonIcon.x = 35; this.buttonIcon.y = this.button.height / 2 - 5; }