[Popup] Removed the left alignment of content for customstyle as it was creating...
[framework/uifw/efl-theme-tizen.git] / themes / widgets / nocontents.edc
1 /*
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved 
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of SAMSUNG
7  * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8  * software is owned by Samsung and you shall not disclose such Confidential
9  * Information and shall use it only in accordance with the terms of the license
10  * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11  * representations or warranties about the suitability of the software, either
12  * express or implied, including but not limited to the implied warranties of
13  * merchantability, fitness for a particular purpose, or non-infringement.
14  * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15  * of or releated to this software.
16  *
17  */
18
19    group {
20       name: "elm/nocontents/base/default";
21       alias: "elm/nocontents/base/full";
22       styles{
23          style { name: "nocontent_style";
24             base: "font=SLP:style=Roman font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0";
25             tag:  "br" "\n";
26             tag:  "hilight" "+ font=SLP:style=Bold";
27             tag:  "b" "+ font=SLP:style=Bold";
28             tag:  "tab" "\t";
29          }
30       }
31       images {
32          image: "00_winset_NoContents_image.png" COMP;
33       }
34       parts {
35          part { name: "bg";
36             type: RECT;
37             scale: 1;
38             description { state: "default" 0.0;
39                visible: 1;
40                min: 200 200;
41                rel1 {
42                   relative: 0.0 0.0;
43                }
44                rel2 {
45                   relative: 1.0 1.0;
46                }
47                color: NOCONTENT_BG_COLOR_INC;
48             }
49          }
50          part { name: "nocontents.image";
51             description { state: "default" 0.0;
52                visible: 1;
53                align: 0.5 0.0;
54                rel1 {
55                   relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
56                   to: "bg";
57                }
58                rel2 {
59                   relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
60                   to: "bg";
61                }
62                image {
63                   normal: "00_winset_NoContents_image.png";
64                   border: 1 1 1 1;
65                   border_scale: 1;
66                }
67                aspect: 1.0 1.0;
68                aspect_preference: BOTH;
69             }
70          }
71          part { name: "middle.padding";
72             type: RECT;
73             scale: 1;
74             description { state: "default" 0.0;
75                visible: 0;
76                min: 1 NOCONTENT_MIDDLE_PADDING_INC;
77                max: 1 NOCONTENT_MIDDLE_PADDING_INC;
78                align: 0.5 0.0;
79                rel1 {
80                   relative: 0.0 1.0;
81                   to_y: "nocontents.image";
82                }
83             }
84          }
85          part { name: "elm.text";
86             type: TEXTBLOCK;
87             scale: 1;
88             description { state: "default" 0.0;
89                min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
90                fixed: 0 1;
91                align: 0.5 0.5;
92                visible: 1;
93                rel1 {
94                   relative: 0.0 1.0;
95                   to_x: "bg";
96                   to_y: "middle.padding";
97                }
98                rel2 {
99                   relative: 1.0 1.0;
100                   to_x: "bg";
101                   to_y: "middle.padding";
102                }
103                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
104                text {
105                   style: "nocontent_style";
106                   align: 0.5 0.5;
107                   min: 0 0;
108                   max: 0 1;
109                }
110             }
111          }
112       }
113    }
114
115    group {
116       name: "elm/nocontents/base/multimedia";
117       images {
118          image: "00_winset_NoContents_multimedia.png" COMP;
119       }
120       parts {
121          part { name: "bg";
122             type: RECT;
123             scale: 1;
124             description { state: "default" 0.0;
125                visible: 1;
126                min: 200 200;
127                rel1 {
128                   relative: 0.0 0.0;
129                }
130                rel2 {
131                   relative: 1.0 1.0;
132                }
133                color: 0 0 0 0;
134             }
135          }
136          part { name: "nocontents.image";
137             description { state: "default" 0.0;
138                visible: 1;
139                align: 0.5 0.0;
140                rel1 {
141                   relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
142                   to: "bg";
143                }
144                rel2 {
145                   relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
146                   to: "bg";
147                }
148                image {
149                   normal: "00_winset_NoContents_multimedia.png";
150                   border: 1 1 1 1;
151                   border_scale: 1;
152                }
153                aspect: 1.0 1.0;
154                aspect_preference: BOTH;
155             }
156          }
157          part { name: "middle.padding";
158             type: RECT;
159             scale: 1;
160             description { state: "default" 0.0;
161                visible: 0;
162                min: 1 NOCONTENT_MIDDLE_PADDING_INC;
163                max: 1 NOCONTENT_MIDDLE_PADDING_INC;
164                align: 0.5 0.0;
165                rel1 {
166                   relative: 0.0 1.0;
167                   to_y: "nocontents.image";
168                }
169             }
170          }
171          part { name: "elm.text";
172             type: TEXTBLOCK;
173             scale: 1;
174             description { state: "default" 0.0;
175                min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
176                fixed: 0 1;
177                align: 0.5 0.5;
178                visible: 1;
179                rel1 {
180                   relative: 0.0 1.0;
181                   to_x: "bg";
182                   to_y: "middle.padding";
183                }
184                rel2 {
185                   relative: 1.0 1.0;
186                   to_x: "bg";
187                   to_y: "middle.padding";
188                }
189                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
190                text {
191                   style: "nocontent_style";
192                   align: 0.5 0.5;
193                   min: 0 0;
194                   max: 0 1;
195                }
196             }
197          }
198       }
199    }
200    
201    group {
202       name: "elm/nocontents/base/text";
203       images {
204          image: "00_winset_NoContents_text.png" COMP;
205       }
206       parts {
207          part { name: "bg";
208             type: RECT;
209             scale: 1;
210             description { state: "default" 0.0;
211                visible: 1;
212                min: 200 200;
213                rel1 {
214                   relative: 0.0 0.0;
215                }
216                rel2 {
217                   relative: 1.0 1.0;
218                }
219                color: 0 0 0 0;
220             }
221          }
222          part { name: "nocontents.image";
223             description { state: "default" 0.0;
224                visible: 1;
225                align: 0.5 0.0;
226                rel1 {
227                   relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
228                   to: "bg";
229                }
230                rel2 {
231                   relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
232                   to: "bg";
233                }
234                image {
235                   normal: "00_winset_NoContents_text.png";
236                   border: 1 1 1 1;
237                   border_scale: 1;
238                }
239                aspect: 1.0 1.0;
240                aspect_preference: BOTH;
241             }
242          }
243          part { name: "middle.padding";
244             type: RECT;
245             scale: 1;
246             description { state: "default" 0.0;
247                visible: 0;
248                min: 1 NOCONTENT_MIDDLE_PADDING_INC;
249                max: 1 NOCONTENT_MIDDLE_PADDING_INC;
250                align: 0.5 0.0;
251                rel1 {
252                   relative: 0.0 1.0;
253                   to_y: "nocontents.image";
254                }
255             }
256          }
257          part { name: "elm.text";
258             type: TEXTBLOCK;
259             scale: 1;
260             description { state: "default" 0.0;
261                min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
262                fixed: 0 1;
263                align: 0.5 0.5;
264                visible: 1;
265                rel1 {
266                   relative: 0.0 1.0;
267                   to_x: "bg";
268                   to_y: "middle.padding";
269                }
270                rel2 {
271                   relative: 1.0 1.0;
272                   to_x: "bg";
273                   to_y: "middle.padding";
274                }
275                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
276                text {
277                   style: "nocontent_style";
278                   align: 0.5 0.5;
279                   min: 0 0;
280                   max: 0 1;
281                }
282             }
283          }
284       }
285    }
286    
287    group {
288       name: "elm/nocontents/base/unnamed";
289       images {
290          image: "00_winset_NoContents_unnamed.png" COMP;
291       }
292       parts {
293          part { name: "bg";
294             type: RECT;
295             scale: 1;
296             description { state: "default" 0.0;
297                visible: 1;
298                min: 200 200;
299                rel1 {
300                   relative: 0.0 0.0;
301                }
302                rel2 {
303                   relative: 1.0 1.0;
304                }
305                color: 0 0 0 0;
306             }
307          }
308          part { name: "nocontents.image";
309             description { state: "default" 0.0;
310                visible: 1;
311                align: 0.5 0.0;
312                rel1 {
313                   relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
314                   to: "bg";
315                }
316                rel2 {
317                   relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
318                   to: "bg";
319                }
320                image {
321                   normal: "00_winset_NoContents_unnamed.png";
322                   border: 1 1 1 1;
323                   border_scale: 1;
324                }
325                aspect: 1.0 1.0;
326                aspect_preference: BOTH;
327             }
328          }
329          part { name: "middle.padding";
330             type: RECT;
331             scale: 1;
332             description { state: "default" 0.0;
333                visible: 0;
334                min: 1 NOCONTENT_MIDDLE_PADDING_INC;
335                max: 1 NOCONTENT_MIDDLE_PADDING_INC;
336                align: 0.5 0.0;
337                rel1 {
338                   relative: 0.0 1.0;
339                   to_y: "nocontents.image";
340                }
341             }
342          }
343          part { name: "elm.text";
344             type: TEXTBLOCK;
345             scale: 1;
346             description { state: "default" 0.0;
347                min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
348                fixed: 0 1;
349                align: 0.5 0.5;
350                visible: 1;
351                rel1 {
352                   relative: 0.0 1.0;
353                   to_x: "bg";
354                   to_y: "middle.padding";
355                }
356                rel2 {
357                   relative: 1.0 1.0;
358                   to_x: "bg";
359                   to_y: "middle.padding";
360                }
361                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
362                text {
363                   style: "nocontent_style";
364                   align: 0.5 0.5;
365                   min: 0 0;
366                   max: 0 1;
367                }
368             }
369          }
370       }
371    }
372    
373    group {
374       name: "elm/nocontents/base/search";
375       parts {
376          part { name: "bg";
377             mouse_events: 0;
378             type: RECT;
379             description { state: "default" 0.0;
380                visible: 1;
381                rel1 {
382                   relative: 0.0 0.0;
383                }
384                rel2 {
385                   relative: 1.0 1.0;
386                }
387                color: 0 0 0 0;
388             }
389          }
390          part { name: "top_padding";
391             mouse_events: 0;
392             type: RECT;
393             scale: 1;
394             description { state: "default" 0.0;
395                min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
396                fixed: 0 1;
397                align: 0 0;
398                visible: 1;
399                rel1 {
400                   relative: 0.0 0.0;
401                }
402                rel2 {
403                   relative: 1.0 0.0;
404                }
405                color: 0 0 0 0;
406             }
407          }
408          part { name: "elm.text";
409             mouse_events: 0;
410             type: TEXT;
411             scale: 1;
412             description { state: "default" 0.0;
413                //min: 0 30;
414                fixed: 0 1;
415                align: 0 0;
416                visible: 1;
417                rel1 {
418                   relative: 0.0 1.0;
419                   to:"top_padding";
420                }
421                rel2 {
422                   relative: 1.0 1.0;
423                   to:"top_padding";
424                }
425                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
426                text {
427                   font: "SLP:style=Roman";
428                   size: 30;
429                   text: "";
430                   align: 0.5 0.5;
431                }
432             }
433          }
434          part { name: "text_bottom_padding";
435             mouse_events: 0;
436             type: RECT;
437             scale: 1;
438             description { state: "default" 0.0;
439                min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
440                fixed: 0 1;
441                align: 0 0;
442                visible: 0;
443                rel1 {
444                   relative: 0.0 1.0;
445                   to:"elm.text";
446                }
447                rel2 {
448                   relative: 1.0 1.0;
449                   to:"elm.text";
450                }
451             }
452          }
453          part { name: "custom";
454             mouse_events: 1;
455             type: SWALLOW; 
456             scale: 1;
457             description { state: "default" 0.0;
458                min: 0 0;
459                fixed: 0 1;
460                align: 0 0;
461                visible: 1;
462                rel1 {
463                   relative: 0.0 1.0;
464                   to:"text_bottom_padding";
465                }
466                rel2 {
467                   relative: 1.0 1.0;
468                   to:"text_bottom_padding";
469                }
470             }
471          }
472       }
473    }