Fix layout issue realte to giant font size
[apps/home/smartsearch.git] / data / groups / search_result.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
18
19
20 group {
21         name: "smartsearch/search_result";
22         parts {
23                 part {
24                         name: "bg";
25                         mouse_events: 0;
26                         type: RECT;
27                         scale: 1;
28                         description {
29                         state: "default" 0.0;
30                         visible: 1;
31                         rel1 { relative: 0.0 0.0;}
32                         rel2 { relative: 1.0 1.0;}
33                         color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
34                         }
35                 }
36                 part {
37             name: "searchbar_pad_top";
38             type: RECT;
39             mouse_events: 0;
40             scale: 1;
41             description {
42                 state: "default" 0.0;
43                 visible: 1;
44                 min: 0 16;
45                 fixed: 0 1;
46                 align: 0.0 0.0;
47                 rel1 { relative: 0.0 0.0; to: "bg";}
48                 rel2 { relative: 1.0 0.0; to: "bg";}
49                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
50             }
51         }
52
53         part {
54             name: "searchbar_area_category_pad_left";
55             type: RECT;
56             mouse_events: 0;
57             scale: 1;
58             description {
59                 state: "default" 0.0;
60                 visible: 1;
61                 min: 16 0;
62                 fixed: 0 1;
63                 align: 0.0 0.0;
64                 rel1 { relative: 0.0 1.0;
65                         to_x: "searchbar_pad_top";
66                                 to_y: "searchbar_pad_top";}
67                 rel2 { relative: 0.0 1.0;
68                                 to_x: "searchbar_pad_top";
69                                 to_y: "searchbar_pad_top";}
70                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
71             }
72         }
73
74         part {
75             name: "searchbar_category_area";
76             type: RECT;
77             mouse_events: 0;
78             scale: 1;
79             description {
80                 state: "default" 0.0;
81                 visible: 1;
82                 min: 80 0;
83                 fixed: 0 1;
84                 align: 0.0 0.0;
85                 rel1 { relative: 1.0 1.0;
86                                 to_x: "searchbar_area_category_pad_left";
87                                 to_y: "searchbar_pad_top";}
88                 rel2 { relative: 1.0 1.0;
89                                 to_x: "searchbar_area_category_pad_left";
90                                 to_y: "searchbar_pad_top";}
91                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
92             }
93         }
94
95         part {
96                         name: "searchbar_area_entry";
97                         type: SWALLOW;
98                         mouse_events: 1;
99                         scale: 1;
100                         description {
101                                 state: "default" 0.0;
102                                 min: 0 72;
103                                 fixed: 0 1;
104                                 align: 0.0 0.0;
105                                 rel1 { relative: 1.0 1.0;
106                                 to_x: "searchbar_category_area";
107                                 to_y: "searchbar_pad_top";}
108                                 rel2 { relative: 1.0 1.0;
109                                 to_x: "searchbar_pad_top";
110                                 to_y: "searchbar_pad_top";}
111                         }
112                 }
113
114         part {
115             name: "searchbar_pad_bottom";
116             type: RECT;
117             mouse_events: 0;
118             scale: 1;
119             description {
120                 state: "default" 0.0;
121                 visible: 1;
122                 min: 0 16;
123                 fixed: 0 1;
124                 align: 0.0 0.0;
125                 rel1 { relative: 0.0 1.0;
126                                 to_x: "searchbar_pad_top";
127                                 to_y: "searchbar_area_entry";}
128                 rel2 { relative: 0.0 1.0;
129                                 to_x: "searchbar_area_entry";
130                                 to_y: "searchbar_area_entry";}
131                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
132                         }
133                 }
134
135         part {
136             name: "searchbar_area_category_bg";
137             type: RECT;
138             mouse_events: 1;
139             scale: 1;
140             description {
141                 state: "default" 0.0;
142                 visible: 1;
143                 min: 0 0;
144                 fixed: 0 1;
145                 align: 0.0 0.5;
146                 rel1 { relative: 0.0 0.0;
147                                 to_x: "searchbar_area_category_pad_left";
148                                 to_y: "searchbar_area_entry";}
149                 rel2 { relative: 0.0 1.0;
150                                 to_x: "searchbar_area_entry";
151                                 to_y: "searchbar_area_entry";}
152                 color: SEARCHBAR_BACKGROUND_COLOR_DEFAULT;
153             }
154         }
155
156         part {
157             name: "searchbar_area_category";
158             type: SWALLOW;
159             mouse_events: 1;
160             scale: 1;
161             description {
162                 state: "default" 0.0;
163                 visible: 1;
164                 min: 80 74;
165                 //max: 0 106;
166                 fixed: 0 1;
167                 align: 0.0 0.5;
168                 rel1 { relative: 0.0 0.5;
169                                 to_x: "searchbar_category_area";
170                                 to_y: "searchbar_area_entry";}
171                 rel2 { relative: 1.0 0.5;
172                                 to_x: "searchbar_category_area";
173                                 to_y: "searchbar_area_entry";}
174             }
175         }
176
177         part {
178             name: "result_bg";
179             type: RECT;
180             mouse_events: 1;
181             scale: 1;
182             description {
183                 state: "default" 0.0;
184                 visible: 1;
185                 min: 0 0;
186                 fixed: 0 1;
187                 rel1 { relative: 0.0 1.0;
188                                 to_x: "searchbar_pad_bottom";
189                                 to_y: "searchbar_pad_bottom";}
190                 rel2 { relative: 1.0 1.0;
191                                 to_x: "bg";
192                                 to_y: "bg";}
193                 color: 255 255 255 255;
194             }
195         }
196
197                 part {
198                         name: "list";
199                         type: SWALLOW;
200                         mouse_events: 1;
201                         scale: 1;
202                         description {
203                                 state: "default" 0.0;
204                                 //min: 720 1024;
205                                 align: 0.0 0.0;
206                                 rel1 { relative: 0.0 1.0; to: "searchbar_pad_bottom"; }
207                                 rel2 { relative: 1.0 1.0; to: "bg"; }
208                         }
209                 }
210                 part {
211                         name: "list_noresult";
212                         type: SWALLOW;
213                         mouse_events: 1;
214                         scale: 1;
215                         description {
216                                 state: "default" 0.0;
217                                 //min: 720 1024;
218                                 align: 0.0 0.0;
219                                 rel1 { relative: 0.0 1.0; to: "searchbar_pad_bottom"; }
220                                 rel2 { relative: 1.0 1.0; to: "bg"; }
221                         }
222                 }
223         } //end parts
224 } //end group
225