[Tizen] Store LayoutItem target size when set explictly 96/195496/1
authoragnelo vaz <agnelo.vaz@samsung.com>
Wed, 5 Dec 2018 17:35:52 +0000 (17:35 +0000)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 14 Dec 2018 02:45:23 +0000 (11:45 +0900)
commit87d9e590438d9e9040c22b0defd41f55a29170a9
treed28f547d20841f3752509a8c7b1f7f9b80d84586
parent770f91bf92a26ff46f4210512ef6838ac436a134
[Tizen] Store LayoutItem target size when set explictly

MinimumWidth and height were used to store the set size of LayoutItems,
this was a problem if the ResizePolicy changed and the size set was no longer
needed as it was still stored.

If the resize policy size was less than the minimum size stored then it would
not be updated.  Hence Actor would not re-draw it after SetFrame called.

TargetSize has been added to the LayoutItem now.  It can be set to zero when no
longer needed and we can still have Minimum size working.

Change-Id: Id3f0cec1d4b1e991f2dd7034c2895ed7d8decd6c
automated-tests/src/dali-toolkit/utc-Dali-Layouting.cpp
dali-toolkit/devel-api/layouting/layout-group-impl.cpp
dali-toolkit/devel-api/layouting/layout-item-impl.cpp
dali-toolkit/devel-api/layouting/layout-item-impl.h
dali-toolkit/internal/layouting/layout-item-data-impl.cpp
dali-toolkit/internal/layouting/layout-item-data-impl.h
dali-toolkit/public-api/controls/control-impl.cpp