Re: gtk_misc_set_alignment() for a label in a table



Hi

        gtk_table_attach(GTK_TABLE(table), label,                       \
                         CSTART, CEND, RSTART, REND,                    \
                         (GtkAttachOptions) 0,                          \
                         (GtkAttachOptions) 0,                          \
                         BORDER_WIDTH, BORDER_WIDTH);                   \

If you want aligned labels the (GtkAttachOptions) have to be at least
GTK_FILL and maybe (GTK_FILL | GTK_EXPAND).

Jan-Marek



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