fixed align problems when whitespaces are included 08/229708/1
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:24:33 +0000 (12:24 +0900)
commitbc44b15b552235efde7e95bdd5cd2a6c26d7d1d2
tree937098bf9f3cfc288c76b4e91b8ec159d3d1515b
parentef8da46a2112c8265ab4b2eb669a791b7a2abbd8
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