Re: gtk_misc_set_alignment() for a label in a table
- From: "Frank W. Miller" <fwmiller cornfed com>
 
- To: Jan-Marek Glogowski <glogow fbihome de>
 
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
 
- Subject: Re: gtk_misc_set_alignment() for a label in a table
 
- Date: Sun, 21 Nov 2004 21:51:31 -0500
 
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]