Table spacings

Sun Jun 15 00:41:05 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/interface.c: Table spacings
This commit is contained in:
CDT 1998 Shawn T. Amundson 1998-06-15 05:43:46 +00:00 committed by Shawn Amundson
parent c943e5e1c8
commit 0e28e58749
4 changed files with 16 additions and 21 deletions

View File

@ -1,3 +1,7 @@
Sun Jun 15 00:41:05 CDT 1998 Shawn T. Amundson <amundson@gimp.org>
* app/interface.c: Table spacings
Sun Jun 14 23:41:17 CDT 1998 Shawn T. Amundson <amundson@gimp.org>
* app/plug_in.c: Fixed progress code to account for when

View File

@ -741,28 +741,25 @@ create_display_shell (int gdisp_id,
gdisp);
/* the vbox, table containing all widgets */
vbox = gtk_vbox_new(0,0);
vbox = gtk_vbox_new(0,2);
gtk_container_add(GTK_CONTAINER (gdisp->shell), vbox);
gtk_container_border_width(GTK_CONTAINER (vbox), 2);
/* the table widget is pretty stupid so we need 2 tables
or it treats rulers and canvas with equal weight when
allocating space, ugh. */
table = gtk_table_new (2, 2, FALSE);
/*
gtk_table_set_col_spacing (GTK_TABLE (table), 0, 1);
gtk_table_set_col_spacing (GTK_TABLE (table), 1, 2);
gtk_table_set_row_spacing (GTK_TABLE (table), 0, 1);
gtk_table_set_row_spacing (GTK_TABLE (table), 1, 2);
gtk_container_border_width (GTK_CONTAINER (table), 2);
*/
gtk_box_pack_start(GTK_BOX (vbox), table, TRUE, TRUE, 0);
table_inner = gtk_table_new (2, 2, FALSE);
gtk_table_set_col_spacing (GTK_TABLE (table_inner), 0, 1);
gtk_table_set_row_spacing (GTK_TABLE (table_inner), 0, 1);
/* hbox for statusbar area */
hbox = gtk_hbox_new(0,2);
gtk_container_border_width(GTK_CONTAINER (hbox), 2);
gtk_box_pack_start(GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
/* scrollbars, rulers, canvas, menu popup button */

View File

@ -741,28 +741,25 @@ create_display_shell (int gdisp_id,
gdisp);
/* the vbox, table containing all widgets */
vbox = gtk_vbox_new(0,0);
vbox = gtk_vbox_new(0,2);
gtk_container_add(GTK_CONTAINER (gdisp->shell), vbox);
gtk_container_border_width(GTK_CONTAINER (vbox), 2);
/* the table widget is pretty stupid so we need 2 tables
or it treats rulers and canvas with equal weight when
allocating space, ugh. */
table = gtk_table_new (2, 2, FALSE);
/*
gtk_table_set_col_spacing (GTK_TABLE (table), 0, 1);
gtk_table_set_col_spacing (GTK_TABLE (table), 1, 2);
gtk_table_set_row_spacing (GTK_TABLE (table), 0, 1);
gtk_table_set_row_spacing (GTK_TABLE (table), 1, 2);
gtk_container_border_width (GTK_CONTAINER (table), 2);
*/
gtk_box_pack_start(GTK_BOX (vbox), table, TRUE, TRUE, 0);
table_inner = gtk_table_new (2, 2, FALSE);
gtk_table_set_col_spacing (GTK_TABLE (table_inner), 0, 1);
gtk_table_set_row_spacing (GTK_TABLE (table_inner), 0, 1);
/* hbox for statusbar area */
hbox = gtk_hbox_new(0,2);
gtk_container_border_width(GTK_CONTAINER (hbox), 2);
gtk_box_pack_start(GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
/* scrollbars, rulers, canvas, menu popup button */

View File

@ -741,28 +741,25 @@ create_display_shell (int gdisp_id,
gdisp);
/* the vbox, table containing all widgets */
vbox = gtk_vbox_new(0,0);
vbox = gtk_vbox_new(0,2);
gtk_container_add(GTK_CONTAINER (gdisp->shell), vbox);
gtk_container_border_width(GTK_CONTAINER (vbox), 2);
/* the table widget is pretty stupid so we need 2 tables
or it treats rulers and canvas with equal weight when
allocating space, ugh. */
table = gtk_table_new (2, 2, FALSE);
/*
gtk_table_set_col_spacing (GTK_TABLE (table), 0, 1);
gtk_table_set_col_spacing (GTK_TABLE (table), 1, 2);
gtk_table_set_row_spacing (GTK_TABLE (table), 0, 1);
gtk_table_set_row_spacing (GTK_TABLE (table), 1, 2);
gtk_container_border_width (GTK_CONTAINER (table), 2);
*/
gtk_box_pack_start(GTK_BOX (vbox), table, TRUE, TRUE, 0);
table_inner = gtk_table_new (2, 2, FALSE);
gtk_table_set_col_spacing (GTK_TABLE (table_inner), 0, 1);
gtk_table_set_row_spacing (GTK_TABLE (table_inner), 0, 1);
/* hbox for statusbar area */
hbox = gtk_hbox_new(0,2);
gtk_container_border_width(GTK_CONTAINER (hbox), 2);
gtk_box_pack_start(GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
/* scrollbars, rulers, canvas, menu popup button */