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 09:08:37 +0000 (18:08 +0900)
commit8edf96a7dfde36b11fce36ded87417dc424b26e8
treeeb0287a6f2a78ed44dcc444fe519c836eabf23d8
parenta34b8d5472e4d9b3471bdeadf6353ec34ce309d2
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