rel2 { relative: 0.1 0.8; to: "bg"; }
}
}
- part{
- name:"elm.text";
- type: TEXT;
- scale : 1;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- text {
- font: "Tizen:style=Medium";
- size: 35;
- align: 0.0 0.5;
- }
- align: 0.0 0.5;
- fixed: 1 1;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.checkbox"; }
- rel2 { relative: 1.0 1.0; to_y: "elm.swallow.checkbox"; }
- }
- }
} //end of parts
} //end of group
elm_object_text_set(label, bodyText);
Evas_Object* check = elm_check_add(scroller);
- elm_object_part_text_set(layout, "elm.text", checkText);
+ elm_object_text_set(check, checkText);
+ evas_object_size_hint_align_set(check, EVAS_HINT_FILL, EVAS_HINT_FILL);
+ evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_part_content_set(layout, "elm.swallow.checkbox", check);
elm_object_content_set(scroller, label);
elm_object_text_set(label, bodyText);
Evas_Object* check = elm_check_add(scroller);
- elm_object_part_text_set(layout, "elm.text", checkText);
+ elm_object_text_set(check, checkText);
+ evas_object_size_hint_align_set(check, EVAS_HINT_FILL, EVAS_HINT_FILL);
+ evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_part_content_set(layout, "elm.swallow.checkbox", check);
elm_object_content_set(scroller, label);