If there is no maximum height in description,
Then the following textblock should be vertically expandable without ellipsis.
part { name: "textblock";
type: TEXTBLOCK;
description {
min: X X;
text.min: 0 1;
}
}
@tizen_fix
Change-Id: I19239732d309c3d1b32e68201a24a9038fca8643
{
/* text.min: 0 1
* text.max: X X */
- int temp_h = TO_INT(params->eval.h);
+ int temp_h;
int temp_w = TO_INT(params->eval.w);
if (min_calc_w > temp_w)
maxw && (*maxw > -1) && (*maxw < temp_w))
temp_w = *maxw;
- if (chosen_desc->text.max_y)
+ if (!chosen_desc->text.max_y && maxh && (*maxh > -1))
{
/* text.min: 0 1
- * text.max: X 1 */
- temp_h = INT_MAX / 10000;
+ * text.max: X 0
+ * And there is a limit for height. */
+ temp_h = *maxh;
}
- else if (maxh && (*maxh > TO_INT(params->eval.h)))
+ else
{
/* text.min: 0 1
+ * text.max: X 1
+ * or
+ * text.min: 0 1
* text.max: X 0
- * And there is a limit for height. */
- temp_h = *maxh;
+ * And there is no a limit for height. */
+ temp_h = INT_MAX / 10000;
}
/* If base width for calculation is 0,