elm_box: Fix miscalculated items' size issue in homogeneous box
authorJee-Yong Um <conr2d@gmail.com>
Mon, 23 Feb 2015 08:59:52 +0000 (17:59 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Mon, 23 Feb 2015 08:59:52 +0000 (17:59 +0900)
commit0c553f6806fb24ef94c771ad7bf10ebb871300ee
tree0f9756896ac8ad8cb9f326b7fe0698cf8e860bbc
parent816d7478f33f18437f2c628e4ee172fb1fc8fe18
elm_box: Fix miscalculated items' size issue in homogeneous box

Summary:
When box has expanded items (evas_object_size_hint_weight_set() with EVAS_HINT_EXPAND)
and homogeneous is set (elm_box_homogeneous_set() with EINA_TRUE),
there is a bug that it miscalculates its items size omitting padding size (space among items),
so the last item looks cropped or having smaller size than others.
This patch makes box calculate its items' size correctly.

T2033

Reviewers: Hermet, seoz

Subscribers: seoz, Hermet

Maniphest Tasks: T2033

Differential Revision: https://phab.enlightenment.org/D2016
src/lib/els_box.c