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:
772821a
)
Revert "index: fix index object got a wrong min value."
author
Woochan Lee
<wc0917.lee@samsung.com>
Mon, 21 Sep 2015 23:52:05 +0000
(
01:52
+0200)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Sat, 26 Sep 2015 06:34:44 +0000
(08:34 +0200)
Summary:
I need to think more about item omitted case, horizontal case as well.
Now i'm working on this. It may need to refactoring internal logic.
Please revert this commit it break view when index item omitted.
@fix
This reverts commit
560338c5c31bda8912938074cb736eabdb9f1f31
.
Reviewers: Hermet, cedric, woohyun
Differential Revision: https://phab.enlightenment.org/D3062
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elm_index.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_index.c
b/src/lib/elm_index.c
index 0b574a617752d2b448e2fd86073e8f700d6f4a05..83194a77988fcc15fe9972691f9c4b48fdf37b9b 100644
(file)
--- a/
src/lib/elm_index.c
+++ b/
src/lib/elm_index.c
@@
-506,9
+506,9
@@
EOLIAN static void
_elm_index_elm_layout_sizing_eval(Eo *obj, Elm_Index_Data *_pd EINA_UNUSED)
{
Evas_Coord minw = -1, minh = -1;
- ELM_
INDEX_DATA_GET(obj, s
d);
+ ELM_
WIDGET_DATA_GET_OR_RETURN(obj, w
d);
- e
vas_object_size_hint_min_get(sd->bx[sd->level]
, &minw, &minh);
+ e
dje_object_size_min_calc(wd->resize_obj
, &minw, &minh);
evas_object_size_hint_min_set(obj, minw, minh);
evas_object_size_hint_max_set(obj, -1, -1);
}