Update changed code
[apps/home/smartsearch.git] / data / groups / search_bar.edc
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  * 
4  * Licensed under the Flora License, Version 1.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  * 
8  *     http://www.tizenopensource.org/license
9  * 
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 group {
18         name: "smartsearch/search_bar";
19         parts {
20                 part {
21                         name: "bg";
22                         mouse_events: 0;
23                         type: RECT;
24                         scale: 1;
25                         description {
26                         state: "default" 0.0;
27                         visible: 1;
28                         rel1 { relative: 0.0 0.0;}
29                         rel2 { relative: 1.0 1.0;}
30                         color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
31                         }
32                 }
33         part {
34             name: "searchbar_area_category_pad_left";
35             type: RECT;
36             mouse_events: 0;
37             scale: 1;
38             description {
39                 state: "default" 0.0;
40                 visible: 1;
41                 min: 16 0;
42                 fixed: 0 1;
43                 align: 0.0 0.0;
44                 rel1 { relative: 0.0 0.0; to: "bg";}
45                 rel2 { relative: 0.0 1.0; to: "bg";}
46                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
47             }
48         }
49         part {
50             name: "searchbar_area_category_top";
51             type: RECT;
52             mouse_events: 1;
53             scale: 1;
54             description {
55                 state: "default" 0.0;
56                 visible: 1;
57                 min: 80 16;
58                 fixed: 0 1;
59                 align: 0.0 0.0;
60                 rel1 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";}
61                 rel2 { relative: 1.0 0.0; to: "searchbar_area_category_pad_left";}
62                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
63             }
64         }
65         part {
66             name: "searchbar_area_category_bottom";
67             type: RECT;
68             mouse_events: 1;
69             scale: 1;
70             description {
71                 state: "default" 0.0;
72                 visible: 1;
73                 min: 80 16;
74                 fixed: 0 1;
75                 align: 0.0 0.0;
76                 rel1 { relative: 0.0 1.0; to: "searchbar_area_category_top";}
77                 rel2 { relative: 1.0 1.0;
78                                                 to_x: "searchbar_area_category_top";
79                                 to_y: "bg";}
80                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
81             }
82         }
83         part {
84             name: "searchbar_area_category";
85             type: SWALLOW;
86             mouse_events: 1;
87             scale: 1;
88             description {
89                 state: "default" 0.0;
90                 visible: 1;
91                 min: 80 0;
92                 //max: 0 106;
93                 fixed: 0 1;
94                 align: 0.0 0.0;
95                 rel1 { relative: 1.0 1.0;
96                                 to_x: "searchbar_area_category_pad_left";
97                                 to_y: "searchbar_area_category_top";}
98                 rel2 { relative: 1.0 0.0;
99                                 to_x: "searchbar_area_category_pad_left";
100                                 to_y: "searchbar_area_category_bottom";}
101             }
102         }
103         part {
104                         name: "searchbar_area_entry";
105                         type: SWALLOW;
106                         mouse_events: 1;
107                         scale: 1;
108                         description {
109                                 state: "default" 0.0;
110                                 min: 0 107;
111                                 fixed: 0 1;
112                                 align: 0.0 1.0;
113                                 rel1 { relative: 1.0 0.0;
114                                                 to_x: "searchbar_area_category";
115                                                 to_y: "bg";
116                                                 }
117                                 rel2 { relative: 1.0 1.0;
118                                                 to_x: "bg";
119                                                 to_y: "bg";}
120                         }
121                 }
122         } //end parts
123 } //end group
124