Prevent Control from positioning controls with margin/padding 20/182920/5
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Fri, 29 Jun 2018 11:02:03 +0000 (12:02 +0100)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Fri, 29 Jun 2018 15:35:01 +0000 (16:35 +0100)
commit63ca57aca66eafc6b4daaac7c60fcad31e598804
treeba4e92356bc225bbf8f309cbda01d458d348c4f9
parent4d704bbcb7e9c4249f6f61b80308ad438ed57b4a
Prevent Control from positioning controls with margin/padding

Fixes the issue in which adding margins or padding to a Layout causes
the child control's Relayout to re-position itself using
this margin/padding.
This should be done by the layoutgroup not in Control.

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