From: giwoong.kim Date: Fri, 21 Jun 2013 10:16:05 +0000 (+0900) Subject: skin: apply a custom scrollbar to KeyWindow X-Git-Tag: TizenStudio_2.0_p2.3~811 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ed50b8b77e1e15c400f82adbd648b90363ba25c;p=sdk%2Femulator%2Fqemu.git skin: apply a custom scrollbar to KeyWindow apply a custom scrollbar to KeyWindow Change-Id: I11ae94b0593be6b94bdc680d01d1195635203e06 Signed-off-by: GiWoong Kim --- diff --git a/tizen/src/skin/client/src/org/tizen/emulator/skin/custom/KeyWindow.java b/tizen/src/skin/client/src/org/tizen/emulator/skin/custom/KeyWindow.java index 0c82fee..f11064c 100644 --- a/tizen/src/skin/client/src/org/tizen/emulator/skin/custom/KeyWindow.java +++ b/tizen/src/skin/client/src/org/tizen/emulator/skin/custom/KeyWindow.java @@ -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),