Re: [gtk-list] Re: Please help with blocked X-Server
- From: Damon Chaplin <damon karuna freeserve co uk>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Please help with blocked X-Server
- Date: Sun, 25 Apr 1999 23:55:00 +0100
Roberto wrote:
> By the way, do you know if there is a problem in the line wrapping of
> GtkLabels? It does not seem to work, even in testgtk. It produces a huge
> window which does not fit on screen.
What makes you think it doesn't work in GTK+?
It looks to me like it does.
It looks like all you have to do is:
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
And possibly:
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_FILL);
if you want spaces to be inserted so the right edge of the text is straight.
And use "\n" to start new paragraphs.
Post your code if it still doesn't work.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]