Justifying labels
- From: Sukanta Kumar Hazra <eng70884 leonis nus edu sg>
- To: gtk-list redhat com
- Subject: Justifying labels
- Date: Fri, 7 Apr 2000 14:05:15 +0800 (SGT)
Hello
I have this samall problem.
When I pack a label into a table, the label is justified to center. How
can I justify the label to left or right.
This is how i pack the label
label = gtk_label_new("something");
table = gtk_table_new(3 , 2, FALSE);
gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2, 0, 0, 0, 0);
gtk_widget_show(label);
gtk_widget_show(table);
I have tried using gtk_label_set_justify, but that didn't help. Its still
appears at the center of the cell.
Thanks for any help.
--
Sukanta Kumar Hazra eng70884@leonis.nus.edu.sg
----------------------------------------------------
" Testing, what is that? If it compiles it is good,
if it boots its perfect " ....... Linus Torvalds
----------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]