ui.box, ui.table: respect user min
authorYeongjong Lee <yj34.lee@samsung.com>
Thu, 7 Mar 2019 01:40:23 +0000 (01:40 +0000)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 14 Mar 2019 05:46:27 +0000 (14:46 +0900)
commit8e82b1e17d703cf95c5a87231d193b9355cd4f58
tree6a80d6a2962d3f7a975183453b98cee6854c2853
parentd0dce31af80ae7bf888e2f63fa156bfd77e5d774
ui.box, ui.table: respect user min

Use restricted_min_set instead of min_set in layout_update.
min_set is set by public API(user side). if it is changed by internal function,
user will get unexpected value later. please check added test case.

Note that this reverts commit e013480e7a0ae11a9363f9a207cf63e3bb7f5423. instead,
this patch provides better solution of the issue refered in e013480e7.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8214
src/lib/elementary/efl_ui_box_layout.c
src/lib/elementary/efl_ui_container_layout.c
src/lib/elementary/efl_ui_container_layout.h
src/lib/elementary/efl_ui_table_layout.c
src/tests/elementary/efl_ui_test_box.c
src/tests/elementary/efl_ui_test_table.c