Re: set_justify() not work?
| From: | Christian Weiske | Date: | Sun, 19 Dec 2004 08:11:19 +0000 |
| Subject: | Re: set_justify() not work? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5368@lists.php.net to get a copy of this message | ||
Hi Alistair,
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
If I do set_justify(GTK_JUSTIFY_FILL) then it works as expected but if I do set_justify(GTK_JUSTIFY_CENTER) or set_justify(GTK_JUSTIFY_RIGHT) then the label is just left aligned. I thought this was mentioned in the manual somewhere, but I don't know exactly where:SET_JUSTIFY works with multiline texts only. To align single line labels, you have to use the x_align setting. Regards/MfG, Christian Weiske -- XMMS is playing now: Wonderwall - Sexy Girl
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc