skin: apply a custom scrollbar to KeyWindow
authorgiwoong.kim <giwoong.kim@samsung.com>
Fri, 21 Jun 2013 10:16:05 +0000 (19:16 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Fri, 21 Jun 2013 10:18:45 +0000 (19:18 +0900)
apply a custom scrollbar to KeyWindow

Change-Id: I11ae94b0593be6b94bdc680d01d1195635203e06
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/skin/client/src/org/tizen/emulator/skin/custom/KeyWindow.java

index 0c82fee..f11064c 100644 (file)
@@ -10,7 +10,7 @@
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
- * of the License, or ( at your option ) any later version.
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -130,7 +130,7 @@ public class KeyWindow extends SkinWindow {
                int heightTailPart = SHELL_MARGIN_BOTTOM;
 
                /* make a frame image */
-               this.cntHiddenButton = 0; //keyMapList.size() - BUTTON_DEFAULT_CNT;
+               this.cntHiddenButton = keyMapList.size() - BUTTON_DEFAULT_CNT;
 
                this.imageFrame = frameMaker.getPatchedImage(
                                widthBase + ((cntHiddenButton > 0) ? widthScrollbar : 0),