[Tizen] Changed Control::SetLayout to handle empty layouts 16/182316/1
authorDavid Steele <david.steele@samsung.com>
Thu, 21 Jun 2018 21:08:23 +0000 (22:08 +0100)
committerminho.sun <minho.sun@samsung.com>
Fri, 22 Jun 2018 01:35:20 +0000 (10:35 +0900)
commit0c1682a0a9fe06d17a86a1de84f4ec2af6237e0d
tree03fdfb8b0e95fc814476ff9650031de110fd82de
parentb4d349772a1e4efc51972233461c545de3c9463c
[Tizen] Changed Control::SetLayout to handle empty layouts

Setting an empty layout now removes the layout from the control
and unparents it's children from that layout, orphaning them (removes
them from the layout hierarchy - they will no longer get measured/laid out).

Change-Id: Ice74ad251111f59c34b65f233ad288c412bb6883
Signed-off-by: David Steele <david.steele@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-Layouting.cpp
dali-toolkit/devel-api/controls/control-devel.cpp
dali-toolkit/internal/controls/control/control-data-impl.cpp
dali-toolkit/internal/controls/control/control-data-impl.h