From gtk Fri Jul 09 14:11:10 1999 From: Havoc Pennington Date: Fri, 09 Jul 1999 14:11:10 +0000 To: gtk Subject: [gtk-list] Re: where's the archive? X-MARC-Message: https://marc.info/?l=gtk&m=93152958517686 On Fri, 9 Jul 1999, Elliott Hughes wrote: > > but there isn't. anyone know where it is, if it's still > available? > It's been broken for months, unfortunately. I've tried to use it several times myself. > while i have your attention, what i want the archive > for is to find out why gtk_label_set_justify doesn't > seem to have any effect (i have gtk 1.2.3). is this > me being stupid, a new bug or a known/fixed bug? > as far as i can see, my labels are centred no matter > what i try. > FAQ alert! (Thanks for trying to check the archives; if this were in the FAQ or archives, as it should be, you would have found it. We need a FAQ maintainer.) gtk_label_set_justify() sets the position of multiple lines of text in the label with respect to each other. That is, foo bar bar bar foo foo bar bar bar foo foo bar bar bar foo gtk_misc_set_alignment() changes the position of the entire text block within the label's size allocation, and it's probably what you want. The two alignment args are 0.0 for top/left and 1.0 for bottom/right and 0.5 for center. Havoc -- To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null