On August 3, 2005 11:37 am, Kevin DeKorte wrote:
> I'm adding a GTKLabel into a GTKTable
>
> Doing this
>
>     conf_label = gtk_label_new(_("Cache Size:"));
>     gtk_table_attach_defaults(GTK_TABLE(conf_table),
> conf_label, 0, 1, 3, 4);
>     gtk_widget_show(conf_label);
>
>
> Works great, but the label is centered, I would like it to be
> left aligned. I looked at the gtk_label_set_justify and said
> that GTK_LEFT_JUSTIFY is the default, so how to I align the
> label within the table container.
>
> Thanks,
>
> Kevin

Try adding:
gtk_misc_set_alignment (GTK_MISC(conf_label), 0.0, 0.0);

I think it may be what you want

-- 
Bill Medland
mailto:[EMAIL PROTECTED]
http://webhome.idirect.com/~kbmed

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to