Yes, it works with ellipsize for one line only, in wrap mode it still cuts only first line with ellipsize set and
ignores the size if ellipsize is not set.
Emmanuele Bassi wrote:
On Tue, 2009-01-20 at 13:48 -0500, Vlad Seryakov wrote:
Hello,
I have problems with limiting ClutterText painting. In some cases text is too big and i explicitly set size of the actor
but when drawn, text always goes beyond the size. Using wrap mode does not help.
is it the size of the font or the size of the actor that you are
setting?
ClutterText will not shrink the font size to fit the size of the actor:
that's your responsability to find the right size for the display.
What is the actual way of setting label size and be sure it will not go beyond
it?
set the :ellipsize property to TRUE; this will ellipsize the text if it
goes beyond the allocated width.
ciao,
Emmanuele.
--
To unsubscribe send a mail to [email protected]