mirror of https://github.com/GNOME/gimp.git
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:
parent
c943e5e1c8
commit
0e28e58749
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue