[text] Return the correct minimum height

The correct minimum height in case of ellipsis is still 1px.
This commit is contained in:
Emmanuele Bassi 2009-04-21 12:01:52 +01:00
parent 5c8263ecb7
commit 368f61fa65

View File

@ -1463,7 +1463,7 @@ clutter_text_get_preferred_height (ClutterActor *self,
if (min_height_p)
{
if (text->priv->ellipsize)
*min_height_p = -1;
*min_height_p = 1;
else
*min_height_p = layout_height;
}