labels and dpi



Yes but... in fact if I make a bigger label and the user changes dpi again,
I run into the same problem. My question is if this is fixable? Or can I
only make bigger the label?

Thanks in advance

---------- Forwarded message ----------
From: Ronald Vincent Tarrant <rontarrant sympatico ca>
Date: 10-ene-2006 4:39
Subject: Re: labels and dpi
To: gtk-app-devel-list gnome org

Fernando Apesteguía wrote:

I have a problem about displaying text on labels. When I change the dpi
font
configuration, the text doesn't fit the label, so the message appear to be
cutted.

I would like to know if there is any way to handle this. May be I'm
forgetting some gtk_label_set_* function?


Have you tried changing the height/width of the label?

label.set_size_request(width, height)

Or perhaps this is too obvious and I'm going to get flamed for
mentioning it. :-)

-Ron T.


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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