elementary label: use text width when label calculates duration for slide 34/87234/2
authorYoungbok Shin <youngb.shin@samsung.com>
Wed, 7 Sep 2016 04:20:52 +0000 (13:20 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 19 Sep 2016 05:19:28 +0000 (22:19 -0700)
commitc548a3d71d874eacfc5cb55e8e551beeb73b77db
treefc6d708d0c563960e0673a0b878c825265fee381
parent163435403641500862d0f4904fc01b7ca8690158
elementary label: use text width when label calculates duration for slide

Summary:
When developers customize theme for making different type of sliding label,
it would be better to send a duration based on whole text.
[The whole text width - label object's w] is only useful for short, bounce
type sliding.

Test Plan: N/A

Reviewers: raster, tasn, herdsman, cedric

Reviewed By: cedric

Subscribers: minkyu, akanad, z-wony, Blackmole, jpeg

Differential Revision: https://phab.enlightenment.org/D4255

Change-Id: I92e0a4bca43e456b92cba9654a13b59ac138a907
src/lib/elm_label.c