Label justification in table cell



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]