fixed align problems when whitespaces are included
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:25:59 +0000 (12:25 +0900)
commit76d43cf4ca6c424d51a15fe85cf7cdcabdc08bda
tree4c77201f34eeae9c69798d732fa18a28d852edc5
parent906767e0180a12076cc887cf8e8b211a5eb3186b
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