fixed align problems when whitespaces are included accepted/tizen/5.5/unified/20200413.131101 submit/tizen_5.5/20200406.055653 submit/tizen_5.5/20200413.043500
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 31 Mar 2020 01:30:13 +0000 (10:30 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Fri, 3 Apr 2020 03:26:46 +0000 (12:26 +0900)
commit5be45364566e4724e0a92c88ecc3c53d007f7708
treec3f19dc650b8a268bbe755529672bfd81ee1d0f9
parentf2b6e809c37974d7324e12464156c579a46a497f
fixed align problems when whitespaces are included

    TextLabel ellipsisTest = TextLabel::New( "abcde abced                                ");
    ellipsisTest.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    ellipsisTest.SetProperty(TextLabel::Property::POINT_SIZE, 34.f);
    ellipsisTest.SetPosition(100.f, 600.f);
    ellipsisTest.SetSize( 344.f, 100.f);
    ellipsisTest.SetProperty(TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER");
    stage.Add( ellipsisTest );

Change-Id: I1641df673a9407e085da8645737f292d73fc8f0f
dali-toolkit/internal/text/layouts/layout-engine.cpp