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:
92def3b
)
[multibuttonentry] fixed some bugs when layouting box and after deleting all items
author
Bora Hwang
<bora1.hwang@samsung.com>
Tue, 30 Apr 2013 01:24:35 +0000
(10:24 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:38:49 +0000
(13:38 +0900)
Change-Id: I432670f24fcd6b0f3b0ca70a9ba9b950a7b6933f
src/lib/elc_multibuttonentry.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_multibuttonentry.c
b/src/lib/elc_multibuttonentry.c
index
d75413d
..
b2af502
100644
(file)
--- a/
src/lib/elc_multibuttonentry.c
+++ b/
src/lib/elc_multibuttonentry.c
@@
-1229,7
+1229,8
@@
_box_layout(Evas_Object *o,
yy = yyy;
linew = lineww;
}
- linew += priv->pad.h;
+ if ((linew != 0) && (l != eina_list_last(priv->children)))
+ linew += priv->pad.h;
}
}
@@
-1459,7
+1460,7
@@
_item_del_pre_hook(Elm_Object_Item *it)
elm_box_pack_end(sd->box, sd->guide);
evas_object_show(sd->guide);
}
- if (!sd->items && !elm_object_focus_get(WIDGET(it)) &&
+
else
if (!sd->items && !elm_object_focus_get(WIDGET(it)) &&
sd->entry && !_entry_packed(WIDGET(it)) && sd->editable)
{
elm_box_pack_end(sd->box, sd->entry);