* Sets the text's layout size to zero when there is no text and no place holder text.
Change-Id: I7d73375fd4aa437a9e30ad7dd0d927f346fe5d21
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
if( 0u == numberOfGlyphs )
{
if( 0u == numberOfGlyphs )
{
+ if( UPDATE_ACTUAL_SIZE & operations )
+ {
+ mImpl->mVisualModel->SetLayoutSize( Size::ZERO );
+ }
+
// Nothing else to do if there is no glyphs.
DALI_LOG_INFO( gLogFilter, Debug::Verbose, "<--Controller::DoRelayout no glyphs, view updated true\n" );
return true;
// Nothing else to do if there is no glyphs.
DALI_LOG_INFO( gLogFilter, Debug::Verbose, "<--Controller::DoRelayout no glyphs, view updated true\n" );
return true;