[cleanup]revise file location and so on
[apps/native/ug-wifi-efl.git] / ui-gadget / edc / main_layout.edc
1 /*
2  * Copyright (c) 2020 Samsung Electronics Co., Ltd.
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 #define PADDING_SIZE 40
18
19 collections
20 {
21         base_scale: 1.8;
22
23         group { "main_layout";
24                 parts {
25                         rect { "base";
26                                 desc { "default";
27                                         color: 238 239 241 255;
28                                 }
29                         }
30                         spacer { "padding.left"; scale;
31                                 desc { "default";
32                                         min: PADDING_SIZE 0;
33                                         max: PADDING_SIZE -1;
34                                         fixed: 1 0;
35                                         align: 0.0 0.0;
36                                         rel.to: "base";
37                                 }
38                         }
39                         spacer { "padding.right"; scale;
40                                 desc { "default";
41                                         min: PADDING_SIZE 0;
42                                         max: PADDING_SIZE -1;
43                                         fixed: 1 0;
44                                         align: 1.0 0.0;
45                                         rel.to: "base";
46                                 }
47                         }
48                         swallow { "elm.swallow.content";
49                                 desc { "default";
50                                         rel1 { relative: 1.0 0.0; to: "padding.left"; }
51                                         rel2 { relative: 0.0 0.0;
52                                                 to_x: "padding.right";
53                                                 to_y: "padding.bottom";
54                                         }
55                                 }
56                         }
57                         spacer { "padding.bottom"; scale;
58                                 desc { "default";
59                                         min: 0 PADDING_SIZE;
60                                         max: -1 PADDING_SIZE;
61                                         fixed: 0 1;
62                                         align: 0.0 1.0;
63                                         rel.to: "base";
64                                 }
65                         }
66                 }
67         }
68 }