projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d1db0
)
[elm] Init code fix -- label.
author
Gustavo Lima Chaves
<glima@profusion.mobi>
Tue, 17 Jul 2012 18:44:28 +0000
(18:44 +0000)
committer
Gustavo Lima Chaves
<glima@profusion.mobi>
Tue, 17 Jul 2012 18:44:28 +0000
(18:44 +0000)
SVN revision: 74009
src/lib/elm_label.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_label.c
b/src/lib/elm_label.c
index
cdba4df
..
c0833da
100644
(file)
--- a/
src/lib/elm_label.c
+++ b/
src/lib/elm_label.c
@@
-373,6
+373,8
@@
_elm_label_smart_add(Evas_Object *obj)
elm_layout_theme_set(obj, "label", "base", elm_widget_style_get(obj));
elm_layout_text_set(obj, NULL, "<br>");
+
+ elm_layout_sizing_eval(obj);
}
static void
@@
-409,8
+411,6
@@
elm_label_add(Evas_Object *parent)
if (!elm_widget_sub_object_add(parent, obj))
ERR("could not add %p as sub object of %p", obj, parent);
- elm_layout_sizing_eval(obj);
-
return obj;
}