Edje calc: Fix textblock size calculation logic
authorYoungbok Shin <youngb.shin@samsung.com>
Thu, 1 Sep 2016 11:45:36 +0000 (20:45 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 17 Nov 2016 07:54:18 +0000 (16:54 +0900)
commitdbe6b2af27497a327c54a46c558aba9b92f26e15
tree1bba8339af5088ff51a71b9f9b1e9c2809c42c94
parent0307365f681bc91191f0927fefc1947ab222e5d8
Edje calc: Fix textblock size calculation logic

Summary:
In singleline textblock, using "text.min: 1 0" and min, max width,
Edje allows to use expandable text with ellipsis. It shows ellipsis
when only text's width reach the max width.
But, Edje couldn't support same feature on multiline textblock.
Edje dose not use max height or text.max properly if ellipsis is enabled.
This feature is very useful to make a layout with dynamically aligned text.
@fix

Reviewers: cedric, tasn, woohyun, raster, herdsman

Subscribers: z-wony, eagleeye, jpeg

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

Change-Id: I0b63ffe07c01c0b6a5fec1df712c99d5dba709e4
src/lib/edje/edje_calc.c
src/lib/edje/edje_util.c