[Task-mgr] Fixed scale and long size name issues
[apps/core/preloaded/taskmanager.git] / res / edje / layout.edc
1 /*
2  *  Task Manager
3  *
4  * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20  #include "conf.h"
21
22 styles {
23         style {
24                 name: "no_item_style";
25                 base: "font=Tizen:style=Bold font_size=32 color=#ffffff align=center style=shadow shadow_color=#000000bf wrap=mixed";
26                 tag:  "br" "\n";
27                 tag:  "hilight" "+ font_weight=Bold";
28                 tag:  "b" "+ font_weight=Bold";
29                 tag:  "tab" "\t";
30         }
31 }
32
33 collections {
34         base_scale: 2.6;
35         group {
36                 name: "layout";
37                 parts {
38                         part {
39                                 name: "bg";
40                                 type: SWALLOW;
41                                 scale: 1;
42                                 description {
43                                         state: "default" 0.0;
44                                         rel1 { relative: 0.0 0.0; }
45                                         rel2 { relative: 1.0 1.0; }
46                                         visible: 1;
47                                 }
48                         }
49                         part {
50                                 name: "scroller";
51                                 type: SWALLOW;
52                                 scale: 1;
53                                 description {
54                                         state: "default" 0.0;
55                                         rel1 { relative: 0.0 0.0; to: "bg"; }
56                                         rel2 { relative: 1.0 1.0; to: "bg"; }
57                                         align: 0.5 1.0;
58                                         visible: 1;
59                                 }
60                         }
61                         part {
62                                 name: "no,apps,txt";
63                                 type: TEXTBLOCK;
64                                 scale: 1;
65                                 description {
66                                         state: "default" 0.0;
67                                         color: 255 255 255 255;
68                                         rel1 { relative: 0.15 0.4; to: "bg"; }
69                                         rel2 { relative: 0.85 0.5; to: "bg"; }
70                                         text {
71                                                 text: " ";
72                                                 style: "no_item_style";
73                                                 align: 0.5 0.5;
74                                         }
75                                         visible: 0;
76                                 }
77                                 description {
78                                         state: "show" 0.0;
79                                         inherit: "default" 0.0;
80                                         visible: 1;
81                                 }
82                         }
83                 } //parts
84                 programs {
85                         program {
86                                 signal: "no,apps,txt,show";
87                                 source: "no,apps,txt";
88                                 action: STATE_SET "show" 0.0;
89                                 target: "no,apps,txt";
90                         }
91                         program {
92                                 signal: "no,apps,txt,hide";
93                                 source: "no,apps,txt";
94                                 action: STATE_SET "default" 0.0;
95                                 target: "no,apps,txt";
96                         }
97                 }
98         } //group
99 } //collections