Fix jira issue TIZENIOT-2336
[apps/native/ug-wifi-direct.git] / ug-wifidirect / resources / 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 #define PADDING_BOTTOM_SIZE 30
19
20 collections
21 {
22         base_scale: 1.8;
23
24         group { "main_layout";
25                 parts {
26                         rect { "base";
27                                 desc { "default";
28                                         color: 238 239 241 255;
29                                 }
30                         }
31                         spacer { "padding.left"; scale;
32                                 desc { "default";
33                                         min: PADDING_SIZE 0;
34                                         max: PADDING_SIZE -1;
35                                         fixed: 1 0;
36                                         align: 0.0 0.0;
37                                         rel.to: "base";
38                                 }
39                         }
40                         spacer { "padding.right"; scale;
41                                 desc { "default";
42                                         min: PADDING_SIZE 0;
43                                         max: PADDING_SIZE -1;
44                                         fixed: 1 0;
45                                         align: 1.0 0.0;
46                                         rel.to: "base";
47                                 }
48                         }
49                         swallow { "elm.swallow.content";
50                                 desc { "default";
51                                         rel1 { relative: 1.0 0.0; to: "padding.left"; }
52                                         rel2 { relative: 0.0 0.0;
53                                                 to_x: "padding.right";
54                                                 to_y: "padding.bottom";
55                                         }
56                                 }
57                         }
58                         spacer { "padding.bottom"; scale;
59                                 desc { "default";
60                                         min: 0 PADDING_BOTTOM_SIZE;
61                                         max: -1 PADDING_BOTTOM_SIZE;
62                                         fixed: 0 1;
63                                         align: 0.0 1.0;
64                                         rel.to: "base";
65                                 }
66                         }
67                 }
68         }
69 }