Fix text scrolling bug 85/165285/4
authorminho.sun <minho.sun@samsung.com>
Thu, 28 Dec 2017 01:31:07 +0000 (10:31 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 2 Jan 2018 15:17:14 +0000 (15:17 +0000)
commitd319327a918acb5e8e662ec13e70777f3d4e7396
treec79f52b698c8c0e8b3f9091e8722c8e7f23e1c70
parent05456785d7bfcc34f1bee09df6b30ceb8f6ff24f
Fix text scrolling bug

Change if statement for text scrolling.
Even if text is longer than control, Elided state can be false.

So, comparing texture width with control width is better way.

Change-Id: Iea613cd1bcfc3ecb3bc562cd106367fe00dc4891
Signed-off-by: minho.sun <minho.sun@samsung.com>
dali-toolkit/internal/controls/text-controls/text-label-impl.cpp
dali-toolkit/internal/text/text-scroller.cpp
dali-toolkit/internal/text/text-scroller.h