evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
title_label = elm_label_add(obj);
- snprintf(buf, MAX_LABEL_LENGTH, "%s", dgettext(PACKAGE, det->title));
+ snprintf(buf, MAX_LABEL_LENGTH, "<font_size=40>%s</font_size>", dgettext(PACKAGE, det->title));
elm_object_text_set(title_label, buf);
evas_object_size_hint_weight_set(title_label, EVAS_HINT_EXPAND, 0);
evas_object_size_hint_align_set(title_label, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_object_part_content_set(layout, "elm.swallow.label", title_label);
- description_label = elm_label_add(obj);
snprintf(buf, MAX_LABEL_LENGTH, "%s", dgettext(PACKAGE, det->description));
-
- elm_object_text_set(description_label, buf);
- evas_object_size_hint_weight_set(description_label, EVAS_HINT_EXPAND, 0);
- evas_object_size_hint_align_set(description_label, EVAS_HINT_FILL, EVAS_HINT_FILL);
- elm_object_part_content_set(layout, "elm.swallow.content", description_label);
+ elm_object_text_set(layout, buf);
__COMMON_FUNC_EXIT__;
return layout;
evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- snprintf(buf, MAX_LABEL_LENGTH, "%s",
+ snprintf(buf, MAX_LABEL_LENGTH, "<font_size=40>%s</font_size>",
dgettext(PACKAGE, entry_info->title_txt));
label = elm_label_add(obj);
* limitations under the License.
*
*/
+styles {
+ style { "custom_textblock_style";
+ base: "font=Tizen:weight=Light font_size=40 color=#000 text_class=entry ellipsis=1.0 left_margin=5 right_margin=5";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "b" "+ font_weight=Bold";
+ tag: "tab" "\t";
+ }
+}
collections {
-base_scale: 1.8;
+base_scale: 2.6;
group { name: "gl_custom_item";
parts {
part { name: "base";
type: SPACER;
scale: 1;
description { state: "default" 0.0;
- min: 0 144; //GENLIST_ITEM_2LINE_HEIGHT
}
}
part { name: "left_padding";
type: SPACER;
scale: 1;
description { state: "default" 0.0;
- min: 0 17;
+ min: 0 23;
align: 0.5 0.0;
rel1 { to: "base"; }
rel2 { to: "base"; relative: 1.0 0.0; }
scale: 1;
mouse_events: 0;
description { state: "default" 0.0;
- min: 0 41;
+ min: 0 23;
align: 0.0 0.0;
rel1 {
to_x: "left_padding";
to_y: "top_padding";
relative: 0.0 1.0;
}
- fixed: 1 1;
+ fixed: 0 1;
}
}
part { name: "elm.swallow.content";
to_y: "bottom_padding";
relative: 0.0 0.0;
}
- fixed: 1 1;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ to_x: "left_padding";
+ to_y: "elm.swallow.label";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to_x: "right_padding";
+ to_y: "bottom_padding";
+ relative: 0.0 0.0;
+ }
+ text {
+ style: "custom_textblock_style";
+ min: 0 1;
+ }
}
}
part { name: "bottom_padding";