09f77731c1dac9fde0a161d1f84cf65eb79bcaa1
[apps/core/preloaded/calendar.git] / data / edc / layout / inc.layouts.edc
1 #define CONTENT_LEFT_PADDING 25
2
3 group { name, "dialoguegroup/alarm/custom";
4
5         images {
6                 image, DIALOG_EDIT_DEFAULT COMP;
7         }
8
9         parts {
10                 part { name, "base";
11                         type, RECT;
12                         scale, 1;
13                         description {
14                                 state, "default" 0.0;
15                                 min, 0 169;
16                                 color, 0 0 0 0;
17                         }
18                 }
19                 part { name, "left_padding";
20                         type, RECT;
21                         scale, 1;
22                         description {
23                                 state, "default" 0.0;
24                                 min, 15 0;
25                                 fixed, 1 0;
26                                 rel1.to, "base";
27                                 rel2 { relative, 0.0 1.0; to, "base"; }
28                                 align, 0.0 0.0;
29                                 color, 0 0 0 0;
30                         }
31                 }
32                 part { name, "right_padding";
33                         type, RECT;
34                         scale, 1;
35                         description {
36                                 state, "default" 0.0;
37                                 min, 10 0;
38                                 fixed, 1 0;
39                                 rel1 { relative, 1.0 0.0; to, "base"; }
40                                 rel2.to, "base";
41                                 align, 1.0 0.0;
42                                 color, 0 0 0 0;
43                         }
44                 }
45                 part { name, "bottom_padding";
46                         type, RECT;
47                         scale, 1;
48                         description {
49                                 state, "default" 0.0;
50                                 min, 0 16;
51                                 fixed, 0 1;
52                                 rel1 { relative, 0.0 1.0; to, "base"; }
53                                 rel2.to, "base";
54                                 align, 0.5 1.0;
55                                 color, 0 0 0 0;
56                         }
57                 }
58
59                 part { name, "text_left_padding";
60                         type, RECT;
61                         scale, 1;
62                         description {
63                                 state, "default" 0.0;
64                                 min, 16 0;
65                                 fixed, 1 0;
66                                 rel1 {
67                                         relative, 1.0 0.5;
68                                         to_x, "content"; to_y, "base";
69                                 }
70                                 rel2 {
71                                         relative, 1.0 0.5;
72                                         to_x, "content"; to_y, "base";
73                                 }
74                                 align, 0.0 0.0;
75                                 color, 0 0 0 0;
76                         }
77                 }
78                 part { name, "text";
79                         type, TEXT;
80                         scale, 1;
81                         description {
82                                 state, "default" 0.0;
83                                 align, 0.0 0.5;
84                                 rel1 {
85                                         relative, 1.0 0.0;
86                                         to_x, "text_left_padding"; to_y, "base";
87                                 }
88                                 rel2 {
89                                         relative, 0.0 0.5;
90                                         to_x, "right_padding"; to_y, "base";
91                                 }
92                                 text {
93                                         font, "SLP:style=Roman";
94                                         size, 32;
95                                         min, 0 0;
96                                         align, 0.0 0.5;
97                                 }
98                                 color, 0 0 0 255;
99                         }
100                 }
101                 part { name, "content";
102                         type, SWALLOW;
103                         scale, 1;
104                         description {
105                                 state, "default" 0.0;
106                                 align, 0.0 0.5;
107                                 fixed, 1 1;
108                                 rel1 {
109                                         relative, 1.0 0.0;
110                                         to_x, "left_padding"; to_y, "base";
111                                 }
112                                 rel2 {
113                                         relative, 1.0 0.5;
114                                         to_x, "left_padding"; to_y, "base";
115                                 }
116                         }
117                 }
118                 part { name, "base/custom";
119                         type, RECT;
120                         description {
121                                 state, "default" 0.0;
122                                 rel1 {
123                                         relative, 1.0 0.5;
124                                         to_x, "text_left_padding"; to_y, "base";
125                                 }
126                                 rel2 {
127                                         relative, 0.0 0.0;
128                                         to_x, "right_padding"; to_y, "bottom_padding";
129                                 }
130                                 color, 0 0 0 0;
131                         }
132                 }
133                 part { name, "input_bg";
134                         scale, 1;
135                         description {
136                                 state, "default" 0.0;
137                                 min, 80 0;
138                                 fixed, 1 0;
139                                 rel1.to, "base/custom";
140                                 rel2 { relative, 0.0 1.0; to, "base/custom"; }
141                                 image {
142                                         normal, "01_dialoguegroup_edit_default.png";
143                                         border, 13 13 9 14;
144                                         border_scale, 1;
145                                 }
146                                 align, 0.0 0.5;
147                         }
148                 }
149                 part { name, "input_left_padding";
150                         type, RECT;
151                         scale, 1;
152                         description {
153                                 state, "default" 0.0;
154                                 min, 16 0;
155                                 fixed, 1 0;
156                                 rel1.to, "input_bg";
157                                 rel2 { relative, 0.0 1.0; to, "input_bg"; }
158                                 color, 0 0 0 0;
159                                 align, 0.0 0.5;
160                         }
161                 }
162                 part { name, "input_sw";
163                         type, SWALLOW;
164                         description {
165                                 state, "default" 0.0;
166                                 rel1 { relative, 1.0 0.0; to, "input_left_padding"; }
167                                 rel2.to, "input_bg";
168                         }
169                 }
170                 part { name, "button_left_padding";
171                         type, RECT;
172                         scale, 1;
173                         description {
174                                 state, "default" 0.0;
175                                 min, 16 0;
176                                 fixed, 1 0;
177                                 rel1 { relative, 1.0 0.0; to, "input_bg"; }
178                                 rel2 { relative, 1.0 1.0; to, "input_bg"; }
179                                 align, 0.0 0.5;
180                                 color, 0 0 0 0;
181                         }
182                 }
183                 part { name, "button";
184                         type, SWALLOW;
185                         scale, 1;
186                         description {
187                                 state, "default" 0.0;
188                                 min, 120 0;
189                                 fixed, 1 1;
190                                 rel1 { relative, 1.0 0.5; to, "button_left_padding"; }
191                                 rel2 { relative, 1.0 0.5; to, "button_left_padding"; }
192                                 align, 0.0 0.5;
193                                 color, 0 0 0 0;
194                         }
195                 }
196                 part { name, "text_left_padding2";
197                         type, RECT;
198                         scale, 1;
199                         description {
200                                 state, "default" 0.0;
201                                 min, 16 0;
202                                 fixed, 1 0;
203                                 rel1 { relative, 1.0 0.0; to, "button"; }
204                                 rel2 { relative, 1.0 1.0; to, "button"; }
205                                 align, 0.0 0.0;
206                                 color, 0 0 0 0;
207                         }
208                 }
209                 part { name, "text2";
210                         type, TEXT;
211                         scale, 1;
212                         description {
213                                 state, "default" 0.0;
214                                 align, 0.0 0.5;
215                                 rel1 {
216                                         relative, 1.0 0.5;
217                                         to_x, "text_left_padding2"; to_y, "base";
218                                 }
219                                 rel2 {
220                                         relative, 0.0 1.0;
221                                         to_x, "right_padding"; to_y, "base";
222                                 }
223                                 text {
224                                         font, "SLP:style=Roman";
225                                         size, 32;
226                                         min, 0 0;
227                                         align, 0.0 0.5;
228                                 }
229                                 color, 0 0 0 255;
230                         }
231                 }
232         }
233 }
234
235 group { name, "dialoguegroup/alarm/custom2";
236
237         images {
238                 image, "01_dialoguegroup_edit_default.png" COMP;
239         }
240
241         parts {
242                 part { name, "base";
243                         type, RECT;
244                         scale, 1;
245                         description {
246                                 state, "default" 0.0;
247                                 min, 0 74;
248                                 color, 0 0 0 0;
249                         }
250                 }
251                 part { name, "left_padding";
252                         type, RECT;
253                         scale, 1;
254                         description {
255                                 state, "default" 0.0;
256                                 min, 0 0;
257                                 fixed, 1 0;
258                                 rel1.to, "base";
259                                 rel2 { relative, 0.0 1.0; to, "base"; }
260                                 align, 0.0 0.0;
261                                 color, 0 0 0 0;
262                         }
263                 }
264                 part { name, "right_padding";
265                         type, RECT;
266                         scale, 1;
267                         description {
268                                 state, "default" 0.0;
269                                 min, 16 0;
270                                 fixed, 1 0;
271                                 rel1 { relative, 1.0 0.0; to, "base"; }
272                                 rel2.to, "base";
273                                 align, 1.0 0.0;
274                                 color, 0 0 0 0;
275                         }
276                 }
277                 part { name, "bottom_padding";
278                         type, RECT;
279                         scale, 1;
280                         description {
281                                 state, "default" 0.0;
282                                 min, 0 5;
283                                 fixed, 0 1;
284                                 rel1 { relative, 0.0 1.0; to, "base"; }
285                                 rel2.to, "base";
286                                 align, 0.5 1.0;
287                                 color, 0 0 0 0;
288                         }
289                 }
290                 part { name, "text_left_padding";
291                         type, RECT;
292                         scale, 1;
293                         description {
294                                 state, "default" 0.0;
295                                 min, 16 0;
296                                 fixed, 1 0;
297                                 rel1 {
298                                         relative, 1.0 0.0;
299                                         to_x, "content"; to_y, "base";
300                                 }
301                                 rel2 {
302                                         relative, 1.0 0.0;
303                                         to_x, "content"; to_y, "base";
304                                 }
305                                 align, 0.0 0.0;
306                                 color, 0 0 0 0;
307                         }
308                 }
309                 part { name, "text";
310                         type, SWALLOW;
311                         scale, 1;
312                         description {
313                                 state, "default" 0.0;
314                                 align, 0.0 0.5;
315                 min, 200 0;
316                 fixed, 1 0;
317                                 rel1 {
318                                         relative, 1.0 0.0;
319                                         to_x, "text_left_padding"; to_y, "base";
320                                 }
321                                 rel2 {
322                                         relative, 1.0 1.0;
323                                         to_x, "text_left_padding"; to_y, "base";
324                                 }
325                         }
326                 }
327         part { name, "text_right_padding";
328                         type, RECT;
329                         scale, 1;
330                         description {
331                                 state, "default" 0.0;
332                                 min, 16 0;
333                                 fixed, 1 0;
334                                 rel1 {
335                                         relative, 1.0 0.0;
336                                         to_x, "text"; to_y, "base";
337                                 }
338                                 rel2 {
339                                         relative, 1.0 0.0;
340                                         to_x, "text"; to_y, "base";
341                                 }
342                                 align, 0.0 0.0;
343                                 color, 0 0 0 0;
344                         }
345                 }
346                 part { name, "content";
347                         type, SWALLOW;
348                         scale, 1;
349                         description {
350                                 state, "default" 0.0;
351                                 align, 0.0 0.5;
352                                 fixed, 1 1;
353                                 rel1 {
354                                         relative, 1.0 0.0;
355                                         to_x, "left_padding"; to_y, "base";
356                                 }
357                                 rel2 {
358                                         relative, 1.0 1.0;
359                                         to_x, "left_padding"; to_y, "base";
360                                 }
361                 align, 0.0 0.5;
362                         }
363                 }
364                 part { name, "base/custom";
365                         type, RECT;
366                         description {
367                                 state, "default" 0.0;
368                                 rel1 {
369                                         relative, 1.0 0.0;
370                                         to_x, "text_right_padding"; to_y, "base";
371                                 }
372                                 rel2 {
373                                         relative, 0.0 1.0;
374                                         to_x, "right_padding"; to_y, "base";
375                                 }
376                                 color, 0 0 0 0;
377                 align, 0.0 0.5;
378                         }
379                 }
380                 part { name, "input_bg";
381                         scale, 1;
382                         description {
383                                 state, "default" 0.0;
384                                 min, 80 60;
385                                 fixed, 1 0;
386                                 rel1.to, "base/custom";
387                                 rel2 { relative, 0.0 1.0; to, "base/custom"; }
388                                 image {
389                                         normal, "01_dialoguegroup_edit_default.png";
390                                         border, 13 13 9 14;
391                                         border_scale, 1;
392                                 }
393                                 align, 0.0 0.5;
394                         }
395                 }
396                 part { name, "input_left_padding";
397                         type, RECT;
398                         scale, 1;
399                         description {
400                                 state, "default" 0.0;
401                                 min, 10 0;
402                                 fixed, 1 0;
403                                 rel1 { relative, 0.0 0.0; to, "input_bg"; offset, 2 0; }
404                                 rel2 { relative, 0.0 1.0; to, "input_bg"; }
405                                 color, 0 0 0 0;
406                                 align, 0.0 0.5;
407                         }
408                 }
409
410                 part { name, "input_sw";
411                         type, SWALLOW;
412                         description {
413                                 state, "default" 0.0;
414                                 rel1 { relative, 1.0 0.0; to, "input_left_padding"; }
415                                 rel2 { relative, 1.0 1.0; to, "input_bg"; }
416                 align, 0.0 0.5;
417                         }
418                 }
419                 part { name, "button_left_padding";
420                         type, RECT;
421                         scale, 1;
422                         description {
423                                 state, "default" 0.0;
424                                 min, 16 0;
425                                 fixed, 1 0;
426                                 rel1 { relative, 1.0 0.0; to, "input_bg"; }
427                                 rel2 { relative, 1.0 1.0; to, "input_bg"; }
428                                 align, 0.0 0.5;
429                                 color, 0 0 0 0;
430                         }
431                 }
432                 part { name, "button";
433                         type, SWALLOW;
434                         scale, 1;
435                         description {
436                                 state, "default" 0.0;
437                                 min, 120 74;
438                                 fixed, 1 1;
439                                 rel1 { relative, 1.0 0.5; to, "button_left_padding"; }
440                                 rel2 { relative, 1.0 0.5; to, "button_left_padding"; }
441                                 align, 0.0 0.5;
442                                 color, 0 0 0 0;
443                         }
444                 }
445                 part { name, "text_left_padding2";
446                         type, RECT;
447                         scale, 1;
448                         description {
449                                 state, "default" 0.0;
450                                 min, 16 0;
451                                 fixed, 1 0;
452                                 rel1 { relative, 1.0 0.0; to, "button"; }
453                                 rel2 { relative, 1.0 1.0; to, "button"; }
454                                 align, 0.0 0.0;
455                                 color, 0 0 0 0;
456                         }
457                 }
458                 part { name, "text2";
459                         type, SWALLOW;
460                         scale, 1;
461                         description {
462                                 state, "default" 0.0;
463                                 align, 0.0 0.5;
464                                 rel1 {
465                                         relative, 1.0 0.0;
466                                         to_x, "text_left_padding2"; to_y, "base";
467                                 }
468                                 rel2 {
469                                         relative, 0.0 1.0;
470                                         to_x, "right_padding"; to_y, "base";
471                                 }
472                         }
473                 }
474         }
475 }
476
477 group { name, "dialoguegroup/repeat/times";
478
479         images {
480                 image, "01_dialoguegroup_edit_default.png" COMP;
481         }
482
483         parts {
484                 part { name, "base";
485                         type, RECT;
486                         scale, 1;
487                         description {
488                                 state, "default" 0.0;
489                                 min, 0 50;
490                                 color, 0 0 0 0;
491                         }
492                 }
493                 part { name, "left_padding";
494                         type, RECT;
495                         scale, 1;
496                         description {
497                                 state, "default" 0.0;
498                                 min, 0 0;
499                                 fixed, 1 0;
500                                 rel1.to, "base";
501                                 rel2 { relative, 0.0 1.0; to, "base"; }
502                                 align, 0.0 0.0;
503                                 color, 0 0 0 0;
504                         }
505                 }
506                 part { name, "right_padding";
507                         type, RECT;
508                         scale, 1;
509                         description {
510                                 state, "default" 0.0;
511                                 min, 10 0;
512                                 fixed, 1 0;
513                                 rel1 { relative, 1.0 0.0; to, "base"; }
514                                 rel2.to, "base";
515                                 align, 1.0 0.0;
516                                 color, 0 0 0 0;
517                         }
518                 }
519
520                 part { name, "text_left_padding";
521                         type, RECT;
522                         scale, 1;
523                         description {
524                                 state, "default" 0.0;
525                                 min, CONTENT_LEFT_PADDING 0;
526                                 fixed, 1 0;
527                                 rel1 {
528                                         relative, 1.0 0.5;
529                                         to_x, "content"; to_y, "base";
530                                 }
531                                 rel2 {
532                                         relative, 1.0 0.5;
533                                         to_x, "content"; to_y, "base";
534                                 }
535                                 align, 0.0 0.0;
536                                 color, 0 0 0 0;
537                         }
538                 }
539
540                 part { name, "base/custom";
541                         type, RECT;
542                         description {
543                                 state, "default" 0.0;
544                                 align, 0.0 0.5;
545                                 rel1 {
546                                         relative, 1.0 0.0;
547                                         to_x, "text_left_padding"; to_y, "base";
548                                 }
549                                 rel2 {
550                                         relative, 0.0 1.0;
551                                         to_x, "right_padding"; to_y, "base";
552                                 }
553                                 color, 0 0 0 0;
554                         }
555                 }
556                 part { name, "input_bg";
557                         scale, 1;
558                         description {
559                                 state, "default" 0.0;
560                                 min, 80 6;
561                                 fixed, 1 1;
562                                 rel1.to, "base/custom";
563                                 rel2 { relative, 0.0 1.0; to, "base/custom"; }
564                                 image {
565                                         normal, "01_dialoguegroup_edit_default.png";
566                                         border, 13 13 9 14;
567                                         border_scale, 1;
568                                 }
569                                 align, 0.0 0.5;
570                         }
571                 }
572                 part { name, "input_left_padding";
573                         type, RECT;
574                         scale, 1;
575                         description {
576                                 state, "default" 0.0;
577                                 min, 16 0;
578                                 fixed, 1 0;
579                                 rel1.to, "input_bg";
580                                 rel2 { relative, 0.0 1.0; to, "input_bg"; }
581                                 color, 0 0 0 0;
582                                 align, 0.0 0.5;
583                         }
584                 }
585                 part { name, "input_sw";
586                         type, SWALLOW;
587                         description {
588                                 state, "default" 0.0;
589                                 rel1 { relative, 1.0 0.0; to, "input_left_padding"; }
590                                 rel2.to, "input_bg";
591                         }
592                 }
593                 part { name, "content";
594                         type, SWALLOW;
595                         scale, 1;
596                         description {
597                                 state, "default" 0.0;
598                                 align, 0.0 0.5;
599                                 fixed, 1 1;
600                                 rel1 {
601                                         relative, 1.0 0.0;
602                                         to_x, "left_padding"; to_y, "base";
603                                 }
604                                 rel2 {
605                                         relative, 1.0 1.0;
606                                         to_x, "left_padding"; to_y, "base";
607                                 }
608                         }
609                 }
610
611                 part { name, "text_left_padding2";
612                         type, RECT;
613                         scale, 1;
614                         description {
615                                 state, "default" 0.0;
616                                 min, 16 0;
617                                 fixed, 1 0;
618                                 rel1 { relative, 1.0 0.0; to, "input_sw"; }
619                                 rel2 { relative, 1.0 1.0; to, "input_sw"; }
620                                 align, 0.0 0.0;
621                                 color, 0 0 0 0;
622                         }
623                 }
624
625                 part { name, "text";
626                         type, SWALLOW;
627                         scale, 1;
628                         description {
629                                 state, "default" 0.0;
630                                 align, 0.0 0.5;
631                                 rel1 {
632                                         relative, 1.0 0.0;
633                                         to_x, "text_left_padding2"; to_y, "content";
634                                 }
635                                 rel2 {
636                                         relative, 0.0 1.0;
637                                         to_x, "right_padding"; to_y, "content";
638                                 }
639                         }
640                 }
641
642         }
643 }
644
645 group { name, "dialoguegroup/location";
646
647         parts {
648                 part { name, "base";
649                         type, RECT;
650                         description {
651                                 state, "default" 0.0;
652                                 color, 0 0 0 0;
653                         }
654                 }
655                 part { name, "pad/right";
656                         type, RECT;
657                         scale, 1;
658                         description {
659                                 state, "default" 0.0;
660                                 min, 15 0;
661                                 fixed, 1 0;
662                                 rel1 { relative , 1.0 1.0; to, "base"; }
663                                 rel2.to, "base";
664                                 align, 1.0 1.0;
665                                 color, 0 0 0 0;
666                         }
667                 }
668
669                 part { name, "editfield/sw";
670                         type, SWALLOW;
671                         description {
672                                 state, "default" 0.0;
673                                 align, 1.0 0.5;
674                                 rel1.to, "base";
675                                 rel2.to, "base";
676                         }
677                 }
678         }
679 }
680
681 //base 690x850
682 //HD size 720x1280
683 #define HEIGHT_OF_LIST_VIEW 920
684
685
686 group { name, "list/base";
687
688         parts {
689
690                 part { name, "base";
691                         type, SWALLOW;
692                         description {
693                                 state, "default" 0.0;
694                                 color, 0 0 0 0;
695                                 align: 0.0 0.0;
696                         }
697                 }
698
699                 part {name, "searchbar";
700                         type, SWALLOW;
701                                 mouse_events, 1;
702                                 scale, 1;
703                         description {
704                                         state: "default" 0.0;
705                                         min: 460 106;
706                                         fixed: 1 1;
707                                 align: 0.0 0.0;
708                                         rel1 { relative: 0.0 0.0; to: "base";}
709                                         rel2 { relative: 1.0 0.0; to: "base";}
710                                         visible, 1;
711                         }
712                         description {
713                                 state: "hide" 0.0;
714                                 inherit: "default" 0.0;
715                                 min: 0 0;
716                                 align: 0.0 0.0;
717                                 rel1 { relative: 0.0 0.0; to: "base";}
718                                 rel2 { relative: 0.0 0.0; to: "base";}
719                                 visible: 0;
720                         }
721                 }
722
723                 part { name, "sw";
724                         type, SWALLOW;
725                         description {
726                                 state, "default" 0.0;
727                                 rel1 { relative: 0.0 1.0; to: "searchbar"; }
728                                 rel2.to, "base";
729                                 visible, 1;
730                         }
731                 }
732         }
733
734         programs {
735                 program {
736                         name: "show";
737                         signal: "searchbar,show";
738                         action: STATE_SET "default" 0.0;
739                         target: "searchbar";
740                         source: "prog";
741                 }
742                 program {
743                         name: "hide";
744                         signal: "searchbar,hide";
745                         action: STATE_SET "hide" 0.0;
746                         target: "searchbar";
747                         source: "prog";
748                 }
749         }
750 }
751
752
753 group { name, "dialoguegroup/datetime";
754         parts {
755                 part { name, "base";
756                         type, RECT;
757                         scale, 1;
758                         description {
759                                 state, "default" 0.0;
760                                 min, 0 100;
761                                 color, 0 0 0 0;
762                         }
763                 }
764                 part { name, "left_padding";
765                         type, RECT;
766                         scale, 1;
767                         description {
768                                 state, "default" 0.0;
769                                 min, 30 0;
770                                 fixed, 1 0;
771                                 rel1.to, "base";
772                                 rel2 {
773                                         relative: 0.0 1.0;
774                                         to: "base";
775                                 }
776                                 align, 0.0 0.0;
777                                 color, 0 0 0 0;
778                         }
779                 }
780                 part { name, "right_padding";
781                         type, RECT;
782                         scale, 1;
783                         description {
784                                 state, "default" 0.0;
785                                 min, 30 0;
786                                 fixed, 1 0;
787                                 rel1 {
788                                         relative: 1.0 0.0;
789                                         to: "base";
790                                 }
791                                 rel2.to, "base";
792                                 align, 1.0 0.0;
793                                 color, 0 0 0 0;
794                         }
795                 }
796                 part { name: "elm.text";
797                         type: TEXT;
798                         scale: 1;
799                         mouse_events: 0;
800                         description { state: "default" 0.0;
801                                 min: 50 20;
802                                 fixed: 1 1;
803                                 visible: 1;
804                                 rel1 {
805                                         relative: 0.0 0.1;
806                                         to_x: "left_padding";
807                                 }
808                                 rel2 {
809                                         relative: 1.0 0.1;
810                                         to_y: "left_padding";
811                                 }
812                                 align: 0.0 0.2;
813                                 color: 165 165 165 255;
814                                 text {
815                                         font: "SLP:style=Roman";
816                                         size: 33;
817                                         min: 0 1;
818                                         align: 0.0 0.5;
819                                 }
820                         }
821                 }
822                 part { name: "elm.icon";
823                         type: SWALLOW;
824                         scale: 1;
825                         description { state: "default" 0.0;
826                                 align: 1.0 0.5;
827                                 fixed: 1 1;
828                                 rel1 {
829                                         relative: 0.0 1.0;
830                                         offset: 0 0;
831                                         to_x: "left_padding";
832                                         to_y: "elm.text";
833                                 }
834                                 rel2 {
835                                         relative: 0.0 1.0;
836                                         offset: 0 0;
837                                         to_x: "right_padding";
838                                         to_y: "base";
839                                 }
840                         }
841                 }
842         }
843 }
844 group { name, "dialoguegroup/tm";
845
846         parts {
847                 part { name, "base";
848                         type, RECT;
849                         scale, 1;
850                         description {
851                                 state, "default" 0.0;
852                                 min, 0 74;
853                                 color, 0 0 0 0;
854                         }
855                 }
856                 part { name, "left_padding";
857                         type, RECT;
858                         scale, 1;
859                         description {
860                                 state, "default" 0.0;
861                                 min, 0 0;
862                                 fixed, 1 0;
863                                 rel1.to, "base";
864                                 rel2 { relative, 0.0 1.0; to, "base"; }
865                                 align, 0.0 0.0;
866                                 color, 0 0 0 0;
867                         }
868                 }
869                 part { name, "right_padding";
870                         type, RECT;
871                         scale, 1;
872                         description {
873                                 state, "default" 0.0;
874                                 min, 16 0;
875                                 fixed, 1 0;
876                                 rel1 { relative, 1.0 0.0; to, "base"; }
877                                 rel2.to, "base";
878                                 align, 1.0 0.0;
879                                 color, 0 0 0 0;
880                         }
881                 }
882                 part { name, "text_left_padding";
883                         type, RECT;
884                         scale, 1;
885                         description {
886                                 state, "default" 0.0;
887                                 min, CONTENT_LEFT_PADDING 0;
888                                 fixed, 1 0;
889                                 rel1 {
890                                         relative, 1.0 0.5;
891                                         to_x, "content"; to_y, "base";
892                                 }
893                                 rel2 {
894                                         relative, 1.0 0.5;
895                                         to_x, "content"; to_y, "base";
896                                 }
897                                 align, 0.0 0.0;
898                                 color, 0 0 0 0;
899                         }
900                 }
901                 part { name, "datefield";
902                         type, SWALLOW;
903                         scale, 1;
904                         description {
905                                 state, "default" 0.0;
906                                 align, 0.0 0.5;
907                                 rel1 {
908                                         relative, 1.0 0.0;
909                                         to_x, "text_left_padding"; to_y, "base";
910                                 }
911                                 rel2 {
912                                         relative, 0.0 1.0;
913                                         to_x, "right_padding"; to_y, "base";
914                                 }
915                         }
916                 }
917
918                 part { name, "content";
919                         type, SWALLOW;
920                         scale, 1;
921                         description {
922                                 state, "default" 0.0;
923                                 align, 0.0 0.5;
924                                 fixed, 1 1;
925                                 rel1 {
926                                         relative, 1.0 0.0;
927                                         to_x, "left_padding"; to_y, "base";
928                                 }
929                                 rel2 {
930                                         relative, 1.0 1.0;
931                                         to_x, "left_padding"; to_y, "base";
932                                 }
933                         }
934                 }
935
936         }
937 }