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:
f4d6b5d
)
elementary: sorry, I think about it. I'm sure this one is a better fix
author
yoz
<yoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 31 Jan 2012 22:29:29 +0000
(22:29 +0000)
committer
yoz
<yoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 31 Jan 2012 22:29:29 +0000
(22:29 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67665
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/els_icon.c
patch
|
blob
|
history
diff --git
a/src/lib/els_icon.c
b/src/lib/els_icon.c
index
5b2f18f
..
9cd74bb
100644
(file)
--- a/
src/lib/els_icon.c
+++ b/
src/lib/els_icon.c
@@
-580,8
+580,8
@@
_smart_reconfigure(Smart_Data *sd)
parent = elm_widget_parent_widget_get(sd->obj);
if (parent)
evas_object_size_hint_align_get(parent, &alignh, &alignv);
- if (alignh
< 0.0
) alignh = 0.5;
- if (alignv
< 0.0
) alignv = 0.5;
+ if (alignh
== EVAS_HINT_FILL
) alignh = 0.5;
+ if (alignv
== EVAS_HINT_FILL
) alignv = 0.5;
x = sd->x + ((sd->w - w) * alignh);
y = sd->y + ((sd->h - h) * alignv);
evas_object_move(sd->obj, x, y);