[text] Return the correct minimum height
The correct minimum height in case of ellipsis is still 1px.
This commit is contained in:
parent
5c8263ecb7
commit
368f61fa65
@ -1463,7 +1463,7 @@ clutter_text_get_preferred_height (ClutterActor *self,
|
|||||||
if (min_height_p)
|
if (min_height_p)
|
||||||
{
|
{
|
||||||
if (text->priv->ellipsize)
|
if (text->priv->ellipsize)
|
||||||
*min_height_p = -1;
|
*min_height_p = 1;
|
||||||
else
|
else
|
||||||
*min_height_p = layout_height;
|
*min_height_p = layout_height;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user