+#define POPUP_TOP_MARGIN (32)
+#define POPUP_LEFT_MARGIN (47)
+#define POPUP_RIGHT_MARGIN (47)
+#define POPUP_BOTTOM_MARGIN (32)
+
#define PADDING_TOP( param_padding_size ) \
part \
{ \
name: "top_pad"; \
- type: RECT; \
+ type: SPACER; \
scale: 1; \
description \
{ \
state: "default" 0.0; \
- color: 0 0 0 0; \
min: 0 param_padding_size; \
fixed: 0 1; \
rel1 {relative: 0 0;} \
part \
{ \
name: "bottom_pad"; \
- type: RECT; \
+ type: SPACER; \
scale: 1; \
description \
{ \
state: "default" 0.0; \
- color: 0 0 0 0; \
min: 0 param_padding_size; \
fixed: 0 1; \
rel1 { relative: 0 1; } \
part \
{ \
name: "left_pad"; \
- type: RECT; \
+ type: SPACER; \
scale: 1; \
description \
{ \
state: "default" 0.0; \
- color: 0 0 0 0; \
min: param_padding_size 0; \
fixed: 1 0; \
rel1 {relative: 0 0;} \
part \
{ \
name: "right_pad"; \
- type: RECT; \
+ type: SPACER; \
scale: 1; \
description \
{ \
state: "default" 0.0; \
- color: 0 0 0 0; \
min: param_padding_size 0; \
fixed: 1 0; \
rel1 {relative: 1 0;} \
part
{
name: "list_pad_1";
- type: RECT;
+ type: SPACER;
scale: 1;
description
{
state: "default" 0.0;
- color: 0 0 0 0;
min: 0 40;
fixed: 0 1;
rel1 {relative: 0 1; to_y: "sbeam_help";}
}
}
}
+ group
+ {
+ name: "popup_with_check";
+ parts
+ {
+ PADDING_TOP(POPUP_TOP_MARGIN)
+ PADDING_LEFT(POPUP_LEFT_MARGIN)
+ PADDING_RIGHT(POPUP_RIGHT_MARGIN)
+ PADDING_BOTTOM(POPUP_BOTTOM_MARGIN)
+
+ part
+ {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description
+ {
+ state: "default" 0.0;
+ fixed: 1 0;
+ rel1 {relative: 1.0 1.0; to_x: "left_pad"; to_y: "top_pad";}
+ rel2 {relative: 0.0 0.0; to_x: "right_pad"; to_y: "mid_pad";}
+ }
+ }
+ part
+ {
+ name: "mid_pad";
+ type: SPACER;
+ scale: 1;
+ description
+ {
+ state: "default" 0.0;
+ align: 0.0 1.0;
+ min: 0 20;
+ fixed: 0 1;
+ rel1 {relative: 1.0 0.0; to_x: "left_pad"; to_y: "elm.swallow.end";}
+ rel2 {relative: 0.0 0.0; to_x: "right_pad"; to_y: "elm.swallow.end";}
+ }
+ }
+ part
+ {
+ name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description
+ {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 0 100;
+ align: 0.0 1.0;
+ rel1 {relative: 1.0 0.0; to_x: "left_pad"; to_y: "bottom_pad";}
+ rel2 {relative: 0.0 0.0; to_x: "right_pad"; to_y: "bottom_pad";}
+ }
+ }
+ }
+ }
}