(Popup) Fix size conflict between popup title and content
authorKingsley Stephens <k.stephens@partner.samsung.com>
Wed, 7 May 2014 16:34:31 +0000 (17:34 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 15 May 2014 11:54:22 +0000 (12:54 +0100)
commit6e64f3edb893125dfc77c89944f75221a9addfaa
tree4a12a5fd65b7233b0e210bfedee4017f406d9f3d
parentc6e6628e2296230cc1ba2169abedc7ea6f87fa48
(Popup) Fix size conflict between popup title and content

[Issue#]  N/A

[Problem] The popup was not being laid out correctly when having content and no fixed size specified

[Cause] The natural size of a TextView does not take wrapping into account

[Solution] Limit max size of title to stage width and allow images in content to shrink but not grow

Change-Id: Idd16e52b14bd946ee41ae58f62acb621123bffee
base/dali-toolkit/internal/controls/popup/popup-impl.cpp
base/dali-toolkit/internal/controls/relayout-helper.cpp