RE: how to align a label in GtkTable

2002-02-25 Thread Kason Huang
hi: you could try gtk_label_set_justify(GtkLabel *label,GtkJustification jtype); typedef enum { GTK_JUSTIFY_LEFT, GTK_JUSTIFY_RIGHT, GTK_JUSTIFY_CENTER, GTK_JUSTIFY_FILL } GtkJustification; for example: gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT); -Original

RE: how to align a label in GtkTable

2002-02-25 Thread Marco Lettere
On Mon, 25 Feb 2002, [big5] ¶À¼y Kason Huang wrote: yes I tried it by it doesn't seem to work in a table cell context. I do create a table, create a label, set the label justification and then attach the label. I don't know if I'm doing something wrong. Are there some caveats like first set

Re: how to align a label in GtkTable

2002-02-25 Thread Steph
I've never managed to get the text justification working in a label either. But GtkMisc functions set_alignment(x, y) and set_padding(x, y) work just fine .. - Original Message - From: Marco Lettere [EMAIL PROTECTED] To: ¶À¼y Kason Huang [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

Re: how to align a label in GtkTable

2002-02-25 Thread Havoc Pennington
¶À¼y Kason Huang [EMAIL PROTECTED] writes: hi: you could try gtk_label_set_justify(GtkLabel *label,GtkJustification jtype); typedef enum { GTK_JUSTIFY_LEFT, GTK_JUSTIFY_RIGHT, GTK_JUSTIFY_CENTER, GTK_JUSTIFY_FILL } GtkJustification; for example: gtk_label_set_justify