set the witdh of the gradient preview to 96 instead of 128 pixels so it is

2002-06-16  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpblendtool.c: set the witdh of the gradient preview
	to 96 instead of 128 pixels so it is not the widest tool options
	item with the "small" theme.
This commit is contained in:
Michael Natterer 2002-06-16 16:35:05 +00:00 committed by Michael Natterer
parent b2de161674
commit 6fe42e3691
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-06-16 Michael Natterer <mitch@gimp.org>
* app/tools/gimpblendtool.c: set the witdh of the gradient preview
to 96 instead of 128 pixels so it is not the widest tool options
item with the "small" theme.
2002-06-16 Michael Natterer <mitch@gimp.org> 2002-06-16 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpstock.[ch]: register the new "invert" and * libgimpwidgets/gimpstock.[ch]: register the new "invert" and

View File

@ -491,7 +491,6 @@ blend_options_new (GimpToolInfo *tool_info)
table = gtk_table_new (4, 3, FALSE); table = gtk_table_new (4, 3, FALSE);
gtk_table_set_col_spacings (GTK_TABLE (table), 2); gtk_table_set_col_spacings (GTK_TABLE (table), 2);
gtk_table_set_row_spacings (GTK_TABLE (table), 1); gtk_table_set_row_spacings (GTK_TABLE (table), 1);
gtk_table_set_row_spacing (GTK_TABLE (table), 1, 2);
gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
gtk_widget_show (table); gtk_widget_show (table);
@ -512,7 +511,7 @@ blend_options_new (GimpToolInfo *tool_info)
button = gtk_button_new (); button = gtk_button_new ();
preview = gimp_preview_new_full (GIMP_VIEWABLE (gradient), preview = gimp_preview_new_full (GIMP_VIEWABLE (gradient),
128, 16, 0, 96, 16, 0,
FALSE, FALSE, TRUE); FALSE, FALSE, TRUE);
gtk_container_add (GTK_CONTAINER (button), preview); gtk_container_add (GTK_CONTAINER (button), preview);
gtk_widget_show (preview); gtk_widget_show (preview);