Fix layout issue realte to giant font size
[apps/home/smartsearch.git] / data / groups / search_result.edc
index e3a17f7..abd5853 100755 (executable)
@@ -1,12 +1,12 @@
 /*
  * Copyright 2012  Samsung Electronics Co., Ltd
- * 
+ *
  * Licensed under the Flora License, Version 1.0 (the License);
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *     http://www.tizenopensource.org/license
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an AS IS BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 group {
        name: "smartsearch/search_result";
        parts {
-               part { 
+               part {
                        name: "bg";
                        mouse_events: 0;
                        type: RECT;
                        scale: 1;
-                       description { 
+                       description {
                        state: "default" 0.0;
                        visible: 1;
                        rel1 { relative: 0.0 0.0;}
                        rel2 { relative: 1.0 1.0;}
-                       color: 0 0 0 0;
+                       color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
                        }
                }
                part {
+            name: "searchbar_pad_top";
+            type: RECT;
+            mouse_events: 0;
+            scale: 1;
+            description {
+                state: "default" 0.0;
+                visible: 1;
+                min: 0 16;
+                fixed: 0 1;
+                align: 0.0 0.0;
+                rel1 { relative: 0.0 0.0; to: "bg";}
+                rel2 { relative: 1.0 0.0; to: "bg";}
+                color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
+            }
+        }
+
+        part {
+            name: "searchbar_area_category_pad_left";
+            type: RECT;
+            mouse_events: 0;
+            scale: 1;
+            description {
+                state: "default" 0.0;
+                visible: 1;
+                min: 16 0;
+                fixed: 0 1;
+                align: 0.0 0.0;
+                rel1 { relative: 0.0 1.0;
+                        to_x: "searchbar_pad_top";
+                               to_y: "searchbar_pad_top";}
+                rel2 { relative: 0.0 1.0;
+                               to_x: "searchbar_pad_top";
+                               to_y: "searchbar_pad_top";}
+                color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
+            }
+        }
+
+        part {
+            name: "searchbar_category_area";
+            type: RECT;
+            mouse_events: 0;
+            scale: 1;
+            description {
+                state: "default" 0.0;
+                visible: 1;
+                min: 80 0;
+                fixed: 0 1;
+                align: 0.0 0.0;
+                rel1 { relative: 1.0 1.0;
+                               to_x: "searchbar_area_category_pad_left";
+                               to_y: "searchbar_pad_top";}
+                rel2 { relative: 1.0 1.0;
+                               to_x: "searchbar_area_category_pad_left";
+                               to_y: "searchbar_pad_top";}
+                color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
+            }
+        }
+
+        part {
+                       name: "searchbar_area_entry";
+                       type: SWALLOW;
+                       mouse_events: 1;
+                       scale: 1;
+                       description {
+                               state: "default" 0.0;
+                               min: 0 72;
+                               fixed: 0 1;
+                               align: 0.0 0.0;
+                               rel1 { relative: 1.0 1.0;
+                               to_x: "searchbar_category_area";
+                               to_y: "searchbar_pad_top";}
+                               rel2 { relative: 1.0 1.0;
+                               to_x: "searchbar_pad_top";
+                               to_y: "searchbar_pad_top";}
+                       }
+               }
+
+        part {
+            name: "searchbar_pad_bottom";
+            type: RECT;
+            mouse_events: 0;
+            scale: 1;
+            description {
+                state: "default" 0.0;
+                visible: 1;
+                min: 0 16;
+                fixed: 0 1;
+                align: 0.0 0.0;
+                rel1 { relative: 0.0 1.0;
+                               to_x: "searchbar_pad_top";
+                               to_y: "searchbar_area_entry";}
+                rel2 { relative: 0.0 1.0;
+                               to_x: "searchbar_area_entry";
+                               to_y: "searchbar_area_entry";}
+                color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
+                       }
+               }
+
+        part {
+            name: "searchbar_area_category_bg";
+            type: RECT;
+            mouse_events: 1;
+            scale: 1;
+            description {
+                state: "default" 0.0;
+                visible: 1;
+                min: 0 0;
+                fixed: 0 1;
+                align: 0.0 0.5;
+                rel1 { relative: 0.0 0.0;
+                               to_x: "searchbar_area_category_pad_left";
+                               to_y: "searchbar_area_entry";}
+                rel2 { relative: 0.0 1.0;
+                               to_x: "searchbar_area_entry";
+                               to_y: "searchbar_area_entry";}
+                color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
+            }
+        }
+
+        part {
+            name: "searchbar_area_category";
+            type: SWALLOW;
+            mouse_events: 1;
+            scale: 1;
+            description {
+                state: "default" 0.0;
+                visible: 1;
+                min: 80 74;
+                //max: 0 106;
+                fixed: 0 1;
+                align: 0.0 0.5;
+                rel1 { relative: 0.0 0.5;
+                               to_x: "searchbar_category_area";
+                               to_y: "searchbar_area_entry";}
+                rel2 { relative: 1.0 0.5;
+                               to_x: "searchbar_category_area";
+                               to_y: "searchbar_area_entry";}
+            }
+        }
+
+        part {
+            name: "result_bg";
+            type: RECT;
+            mouse_events: 1;
+            scale: 1;
+            description {
+                state: "default" 0.0;
+                visible: 1;
+                min: 0 0;
+                fixed: 0 1;
+                rel1 { relative: 0.0 1.0;
+                               to_x: "searchbar_pad_bottom";
+                               to_y: "searchbar_pad_bottom";}
+                rel2 { relative: 1.0 1.0;
+                               to_x: "bg";
+                               to_y: "bg";}
+                color: 255 255 255 255;
+            }
+        }
+
+               part {
                        name: "list";
                        type: SWALLOW;
                        mouse_events: 1;
@@ -42,7 +203,7 @@ group {
                                state: "default" 0.0;
                                //min: 720 1024;
                                align: 0.0 0.0;
-                               rel1 { relative: 0.0 0.0; to: "bg"; }
+                               rel1 { relative: 0.0 1.0; to: "searchbar_pad_bottom"; }
                                rel2 { relative: 1.0 1.0; to: "bg"; }
                        }
                }
@@ -55,7 +216,7 @@ group {
                                state: "default" 0.0;
                                //min: 720 1024;
                                align: 0.0 0.0;
-                               rel1 { relative: 0.0 0.0; to: "bg"; }
+                               rel1 { relative: 0.0 1.0; to: "searchbar_pad_bottom"; }
                                rel2 { relative: 1.0 1.0; to: "bg"; }
                        }
                }