Re: gtk_misc_set_alignment() for a label in a table



Jan-Marek Glogowski wrote:

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


Many thanks!  I used just GTK_FILL and it works fine now.

FM




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