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:
a82cbde
)
[naviframe] Set hint min size of naviframe as the top item's min size
author
Jaehyun Cho
<jae_hyun_cho@naver.com>
Sun, 16 Jun 2013 08:21:19 +0000
(17:21 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Thu, 20 Jun 2013 12:33:45 +0000
(21:33 +0900)
Change-Id: Id33a1070f06c32c7eb10c41787a673d1ca0d4f44
src/lib/elc_naviframe.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_naviframe.c
b/src/lib/elc_naviframe.c
index
0bff313
..
b7663b7
100644
(file)
--- a/
src/lib/elc_naviframe.c
+++ b/
src/lib/elc_naviframe.c
@@
-930,10
+930,14
@@
_elm_naviframe_smart_sizing_eval(Evas_Object *obj)
{
evas_object_move(VIEW(it), x, y);
evas_object_resize(VIEW(it), w, h);
- edje_object_size_min_calc(elm_layout_edje_get(VIEW(it)),
- &it->minw, &it->minh);
- if (it->minw > minw) minw = it->minw;
- if (it->minh > minh) minh = it->minh;
+
+ if (it == sd->stack->last)
+ {
+ edje_object_size_min_calc(elm_layout_edje_get(VIEW(it)),
+ &it->minw, &it->minh);
+ minw = it->minw;
+ minh = it->minh;
+ }
}
evas_object_size_hint_min_set(obj, minw, minh);