Label justification in table cell
- From: Russell Shaw <rjshaw netspace net au>
- To: gtk-app-devel-list gnome org
- Subject: Label justification in table cell
- Date: Thu, 03 Jun 2004 03:54:10 +1000
Hi,
When i put GtkLabels into GtkTable cells, they get centered.
How do i get them left justified? I tried:
GtkWidget *tab=gtk_table_new(2,2,FALSE);
GtkWidget *label=gtk_label_new("abc");
gtk_misc_set_alignment(GTK_MISC(label),0,0.5);
gtk_table_attach(GTK_TABLE(tab),label,0,1,0,1,GTK_SHRINK,GTK_SHRINK,0,0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]