Adjust magnifier position for space flick and fix issue that letter is cut 31/113231/1
authorsungwook79.park <sungwook79.park@samsung.com>
Tue, 7 Feb 2017 00:59:36 +0000 (09:59 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Tue, 7 Feb 2017 00:59:36 +0000 (09:59 +0900)
Change-Id: I357b4c3d91e53bec499473539f7e342a2ed5f0f9
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/ise-language-change.cpp

index da70018..d2441f7 100755 (executable)
@@ -33,7 +33,7 @@
 #define ARROW_IMAGE_X_PADDING            14
 #define ARROW_IMAGE_Y_PADDING            10
 
-#define SCROLLER_HEIGHT                  27
+#define SCROLLER_HEIGHT                  40
 #define SCROLLER_X                       (ARROW_IMAGE_WIDTH + ARROW_IMAGE_X_PADDING)
 #define SCROLLER_Y                       45
 #define SPACE_POPUP_WIDTH_PADDING        SCROLLER_X * 2
@@ -77,7 +77,6 @@ void ise_show_space_flick_language_change_popup(short int space_button_x, short
     std::string left_text = "left";
     std::string center_text = "center";
     std::string right_text = "right";
-    LANGUAGE_INFO *info;
 
     if (lang_popup_on)
         return;
@@ -234,7 +233,7 @@ static void __ise_init_space_flick_lang_change_popup_variables(short int space_b
     lang_popup_height = SPACE_POPUP_HEIGHT;
     lang_popup_width = SPACE_POPUP_WIDTH;
     lang_popup_x = space_button_x - (lang_popup_width - space_button_width) / 2;
-    lang_popup_y = (space_button_y - lang_popup_height * 2);
+    lang_popup_y = (space_button_y - lang_popup_height - ARROW_IMAGE_Y_PADDING);
 }