[naviframe] Fix the height size of the tabbar in no title tabbar style
authorjae_hyun.cho <jae_hyun.cho@samsung.com>
Fri, 29 Mar 2013 14:21:35 +0000 (23:21 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Tue, 2 Apr 2013 10:09:23 +0000 (19:09 +0900)
Change-Id: I884569ad25b5da27fb4a5489e94db17503721b82

themes/inc/tizen-hd-inc.edc
themes/widgets/naviframe.edc

index f577406..9761c85 100644 (file)
@@ -50,7 +50,6 @@
 #define NAVIFRAME_PREV_FUNC_BTN_SIZE_INC 86 98
 #define NAVIFRAME_LANDSCAPE_PREV_FUNC_BTN_SIZE_INC 86 85
 #define NAVIFRAME_TITLE_TAB_H_INC 63
-#define NAVIFRAME_TITLE_TAB_LARGE_H_INC 111
 #define NAVIFRAME_TITLE_TAB_FONT_SIZE_INC 44
 #define NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC 38
 #define NAVIFRAME_TITLE_TAB_TEXT_H_INC 60
index f9dbd81..811603e 100644 (file)
             type: RECT;
             scale: 1;
             description { state: "default" 0.0;
-               min: 1 NAVIFRAME_TAB_TITLE_H_INC;
+               min: 1 NAVIFRAME_TITLE_H_INC;
                align: 0.0 0.0;
                fixed: 0 1;
                rel1 { relative: 0.0 0.0; to: "base"; }
             }
             description { state: "landscape" 0.0;
                inherit: "default" 0.0;
-               min: 1 NAVIFRAME_LANDSCAPE_TAB_TITLE_H_INC;
+               min: 1 NAVIFRAME_LANDSCAPE_TITLE_H_INC;
             }
             description { state: "hide" 0.0;
                inherit: "default" 0.0;
             scale: 1;
             clip_to: "title_clip";
             description { state: "default" 0.0;
+               max: -1 NAVIFRAME_TITLE_H_INC;
+               rel1.to: "title_bg";
+               rel1.relative: 0.0 0.0;
+               rel2.to: "title_bg";
+               rel2.relative: 1.0 1.0;
+            }
+            description { state: "landscape" 0.0;
+               max: -1 NAVIFRAME_LANDSCAPE_TITLE_H_INC;
                rel1.to: "title_bg";
                rel1.relative: 0.0 0.0;
                rel2.to: "title_bg";
                   if (!strcmp(st, "default"))
                     set_state(PART:"title_bg", "landscape", 0.0);
 
+                  get_state(PART:"tabbar", st, 30, vl);
+                  if (!strcmp(st, "default"))
+                    set_state(PART:"tabbar", "landscape", 0.0);
+
                   get_state(PART:"toolbar_bg", st, 30, vl);
                   if (!strcmp(st, "visible"))
                     set_state(PART:"toolbar_bg", "visible_landscape", 0.0);
                   if (!strcmp(st, "landscape"))
                     set_state(PART:"title_bg", "default", 0.0);
 
+                  get_state(PART:"tabbar", st, 30, vl);
+                  if (!strcmp(st, "landscape"))
+                    set_state(PART:"tabbar", "default", 0.0);
+
                   set_int(landscape, 0);
                }
             }