Re: Aligning label baselines



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David NeÄas (Yeti) wrote:

    for (i = 0; i < G_N_ELEMENTS(labels); i++)
        gtk_table_attach(GTK_TABLE(table),
                         g_object_new(GTK_TYPE_LABEL,
                                      "label", labels[i], "use-markup", TRUE,
                                      "xalign", 0.0,
                "yalign", 1.0,
                                      NULL),
                         i % 2, i % 2 + 1, i/2, i/2 + 1,

David,

Try that "yalign" and see if that works.

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGJ+0a6w2kMH0L1dERAiznAJ9mPtidTSMPQA2TX5xHGnkUm928uQCggCoS
yQ/fCQLdMakPu2tEcILYV6Q=
=UevC
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]