Remove equal to distinguish pass or failure more stricktly
[platform/core/system/system-popup.git] / src / usb / usb-popup.edc
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *  Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 collections {
18         base_scale: 2.6;
19
20         #define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 252
21         #define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 15
22         #define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 15
23         #define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 162
24         #define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 90
25         #define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 50 50
26
27         #define POPUP_TEXT_FONT_SIZE0 40
28         #define POPUP_TEXT_FONT_SIZE1 30
29         #define POPUP_TEXT_FONT_SIZE2 24
30         #define POPUP_TEXT_FONT_SIZE3 27
31
32         group { name: "popup_checkview_layout";
33            styles {
34               style { name: "popup_content_style";
35                  base: "font=Tizen:style=Regular align=left font_size="POPUP_TEXT_FONT_SIZE1" color=#000000 wrap=mixed ellipsis=-1.0 text_class=tizen";
36                  tag: "br" "\n";
37                  tag: "tab" "\t";
38               }
39            }
40            parts {
41               part { name: "bg";
42                  scale: 1;
43                  type: SPACER;
44                  description { state: "default" 0.0;
45                     min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC;
46                     fixed: 1 0;
47                  }
48               }
49               part { name: "pad_l";
50                  type: SPACER;
51                  scale: 1;
52                  description { state: "default" 0.0;
53                     min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
54                     fixed: 1 0;
55                     rel1.relative: 0.0 0.0;
56                     rel2.relative: 0.0 1.0;
57                     align: 0.0 0.0;
58                  }
59               }
60               part { name: "pad_r";
61                  type: SPACER;
62                  scale: 1;
63                  description { state: "default" 0.0;
64                     min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
65                     fixed: 1 0;
66                     rel1.relative: 1.0 0.0;
67                     rel2.relative: 1.0 1.0;
68                     align: 1.0 0.0;
69                  }
70               }
71               part { name: "elm.swallow.content";
72                  type: SWALLOW;
73                  scale: 1;
74                  description { state: "default" 0.0;
75                     fixed: 0 1;
76                     min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC;
77                     align: 0.5 0.0;
78                     rel2 {
79                        relative: 1.0 0.0;
80                        to: "pad_b";
81                     }
82                  }
83               }
84               part { name: "pad_b";
85                  type: SPACER;
86                  scale: 1;
87                  description { state: "default" 0.0;
88                     align: 0.0 1.0;
89                     min: POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC;
90                     fixed: 0 1;
91                     rel1.relative: 0.0 1.0;
92                  }
93               }
94               part { name: "elm.swallow.end";
95                  type: SWALLOW;
96                  scale: 1;
97                  multiline: 1;
98                  description { state: "default" 0.0;
99                     align: 0.0 0.5;
100                     min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC;
101                     fixed: 1 1;
102                     rel1 {
103                        relative: 1.0 1.0;
104                        to_x: "pad_l";
105                        to_y: "pad_b";
106                     }
107                     rel2 {
108                        relative: 0.0 0.0;
109                        to_x: "pad_r";
110                        to_y: "pad_b";
111                     }
112                  }
113               }
114            }
115         }
116 }