[searchbar] Add min value for width.
authorWooHyun Jung <wh0705.jung@samsung.com>
Fri, 7 Jun 2013 05:02:49 +0000 (14:02 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 11:39:08 +0000 (20:39 +0900)
themes/inc/tizen-hd-inc.edc
themes/widgets/layout.edc

index fc0c0c5..78ce623 100755 (executable)
 #define SEARCHBAR_TOP_PADDING_INC 10
 #define SEARCHBAR_BOTTOM_PADDING_INC 10
 #define SEARCHBAR_HEIGHT_INC 66
+#define SEARCHBAR_WIDTH_INC 120
 #define SEARCHBAR_LEFT_PADDING_INC 26
 #define SEARCHBAR_RIGHT_PADDING_INC 26
 #define SEARCHBAR_INPUTFIELD_BORDER_INC 12 13 12 13
index 7e55da6..3acd6e5 100644 (file)
@@ -1196,7 +1196,7 @@ group { name: "elm/layout/searchbar/default";
          type: IMAGE;
          scale: 1;
          description { state: "default" 0.0;
-            min: 0 SEARCHBAR_HEIGHT_INC;
+            min: SEARCHBAR_WIDTH_INC SEARCHBAR_HEIGHT_INC;
             align: 0.0 0.5;
             image {
                normal: "00_search_edit_field_bg.png";
@@ -1584,6 +1584,7 @@ group { name: "elm/layout/searchbar/cancel_button";
          scale: 1;
          description { state: "default" 0.0;
             align: 0.0 0.5;
+            min: SEARCHBAR_WIDTH_INC 1;
             rel1 {
                relative: 1.0 0.0;
                to_x: "left_padding_rect";