mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
[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 (text->priv->ellipsize)
|
||||
*min_height_p = -1;
|
||||
*min_height_p = 1;
|
||||
else
|
||||
*min_height_p = layout_height;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user