Re: gtk label size



Fernando Apesteguía wrote:
Many thanks Yeti

I tried it but my gtk version doesn't support gtk_label_set_ellipsize(). In
fact I'm not sure about my gtk version. I have a gtk-2.0 directory but I
have not gtk-config so I can't perform a gtk-config --version

Use `pkg-config --modversion gtk+-2.0' instead.

Actually, you took the wrong advice from the two.  Better pick this: don't
make your labels fixed-size.  It is incomparably better in all cases you
are not e.g. stuck to small fixed-size display.

GTK+ natively allows all widgets have the size they need to display all
the information.

Paul



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]