Edje calc: Fix Evas Text width calculation with ellipsis 45/83945/3
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 12 Jul 2016 01:20:03 +0000 (10:20 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Thu, 18 Aug 2016 13:14:40 +0000 (06:14 -0700)
commit187f4535be5766b35d33c737cc58d7e60314d592
tree20951c46bca51a18970e1c0baf2e49ec4eeb58b1
parent02f7bc30b108d0e6ff6a1518112e5ceacae5693a
Edje calc: Fix Evas Text width calculation with ellipsis

Summary:
To keep consistency with Evas Textblock part in edje,
text.min has to work logically even if ellipsis is enabled.
If a Text part has minimum width, maximum width and "text.min: 1 X;",
Text part should be expanded until its width reaches to the maximum width.
Then, ellipsis will work. Singleline Textblock is also working like this.
@fix

Reviewers: cedric, herdsman, raster, tasn

Subscribers: Blackmole, z-wony, jpeg

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

Conflicts:
src/lib/edje/edje_text.c

Change-Id: Id2fac23c01364d78ef8c50b3559e66252b50489c
src/bin/edje/edje_cc_handlers.c
src/lib/edje/edje_calc.c
src/lib/edje/edje_text.c