From: Jimmy Huang Date: Thu, 28 Mar 2013 22:23:11 +0000 (-0700) Subject: Fixed keypad layout issue in landscape mode X-Git-Tag: accepted/2.0/20130328.225144~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f71890c66fdf8e8bf4055478d030568241f38e2a;p=profile%2Fivi%2Flemolo.git Fixed keypad layout issue in landscape mode The keypad buttons are miss-aligned in landscape mode when running in fullscreen, fixed layout to handle with landscape mode orientation. Signed-off-by: Jimmy Huang --- diff --git a/data/themes/default-hd.edc b/data/themes/default-hd.edc index 4abad67..e9dd8d8 100644 --- a/data/themes/default-hd.edc +++ b/data/themes/default-hd.edc @@ -2,7 +2,7 @@ #define HEIGHT 1280 #define ACTION_WIDTH 240 -#define ACTION_HEIGHT 170 +#define ACTION_HEIGHT 80 #define CALL_HEIGHT 200 diff --git a/data/themes/default-sd.edc b/data/themes/default-sd.edc index 89ba0c5..68c7299 100644 --- a/data/themes/default-sd.edc +++ b/data/themes/default-sd.edc @@ -2,7 +2,7 @@ #define HEIGHT 640 #define ACTION_WIDTH 120 -#define ACTION_HEIGHT 85 +#define ACTION_HEIGHT 40 #define CALL_HEIGHT 100 diff --git a/data/themes/includes/keypad.edc b/data/themes/includes/keypad.edc index bd9bf9a..78ad3bf 100644 --- a/data/themes/includes/keypad.edc +++ b/data/themes/includes/keypad.edc @@ -116,7 +116,7 @@ group { description { state: "default" 0.0; color: 0 0 0 0; - min: WIDTH 0; + min: WIDTH ACTION_HEIGHT; max: WIDTH WIDTH; /* keep it tight centered */ rel1 { relative: 0.0 1.0; @@ -232,8 +232,8 @@ group { } \ text { \ text: label; \ - font: FONT_NORMAL; \ - size: SIZE_HUGE; \ + font: FONT_NORMAL; \ + size: SIZE_LARGE; \ align: 0.5 0.5; \ } \ } \ @@ -254,7 +254,7 @@ group { rel1 { \ to: "button."##id; \ relative: 0.0 0.5; \ - offset: 0 2; \ + offset: 0 15; \ } \ rel2.to: "button."##id; \ text { \