projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29fcd78
)
[SegmentControl] Style set to label.
author
Prince Kr Dubey
<prince.dubey@samsung.com>
Wed, 13 Oct 2010 13:45:19 +0000
(19:15 +0530)
committer
Prince Kr Dubey
<prince.dubey@samsung.com>
Wed, 13 Oct 2010 13:45:19 +0000
(19:15 +0530)
src/lib/elm_segment_control.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_segment_control.c
b/src/lib/elm_segment_control.c
index
91c12c9
..
a3ce66f
100644
(file)
--- a/
src/lib/elm_segment_control.c
+++ b/
src/lib/elm_segment_control.c
@@
-1115,12
+1115,13
@@
elm_segment_control_item_label_object_set(Elm_Segment_Item *item, char *label)
if(!wd) return NULL;
if(!label) return NULL;
- item->label_wd = elm_label_add(item->obj);
+ item->label_wd = elm_label_add(item->obj);
elm_label_label_set(item->label_wd, label);
elm_label_text_align_set(item->label_wd, "middle");
elm_label_ellipsis_set(item->label_wd, 1);
elm_label_line_wrap_set(item->label_wd, 1);
eina_stringshare_replace(&item->label, label);
+ elm_object_style_set(item->label_wd, "segment");
return item->label_wd;
}