alignment oddity
- From: Nils Philippsen <nils wombat dialup fht-esslingen de>
- To: gtk-list redhat com
- Subject: alignment oddity
- Date: Tue, 1 Jun 1999 23:52:56 +0200 (CEST)
Hi.
Can someone please tell me why the following doesn't work (or better: how
I get it working):
label = gtk_label_new (_("New:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1,
0, 0, 0, 0);
gtk_widget_show (label);
Actually, the label should get left-justified in the table cell, despite
it's centered. From gtk+-1.0 times I knew you had to perform the function
calls in a special order, so I shuffled the stuff around, to no avail.
Bye, Nils
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen @college: nils@fht-esslingen.de
Vogelsangstrasse 115 @home: nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart phone: +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offence. -- Edsger W. Dijkstra
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]