projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
049d0c1
)
elm_table: do not propagate max size
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 28 Jul 2017 19:44:43 +0000
(15:44 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 28 Jul 2017 19:40:47 +0000
(15:40 -0400)
evas table does not set max size, propagating this triggers unnecessary
callbacks
@fix
src/lib/elementary/elm_table.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_table.c
b/src/lib/elementary/elm_table.c
index
907265e
..
8e53521
100644
(file)
--- a/
src/lib/elementary/elm_table.c
+++ b/
src/lib/elementary/elm_table.c
@@
-130,14
+130,12
@@
_elm_table_elm_widget_theme_apply(Eo *obj, void *sd EINA_UNUSED)
static void
_sizing_eval(Evas_Object *obj)
{
- Evas_Coord minw = 0, minh = 0
, maxw = -1, maxh = -1
;
+ Evas_Coord minw = 0, minh = 0;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
efl_gfx_size_hint_combined_min_get(wd->resize_obj, &minw, &minh);
- evas_object_size_hint_max_get(wd->resize_obj, &maxw, &maxh);
evas_object_size_hint_min_set(obj, minw, minh);
- evas_object_size_hint_max_set(obj, maxw, maxh);
}
static void