Right-align X, Y, Width and Height.

2007-08-12  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	Right-align X, Y, Width and Height.

svn path=/trunk/; revision=23225
This commit is contained in:
Martin Nordholts 2007-08-12 09:36:23 +00:00 committed by Martin Nordholts
parent b45b8aa096
commit 998748d6f4
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-08-12 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
Right-align X, Y, Width and Height.
2007-08-12 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangleoptions.[ch]: Setup a

View File

@ -1000,6 +1000,7 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
/* X */
entry = gimp_prop_size_entry_new (config, "x0", "unit", "%a",
GIMP_SIZE_ENTRY_UPDATE_SIZE, 300);
gtk_table_set_col_spacing (GTK_TABLE (entry), 1, 0);
gimp_size_entry_show_unit_menu (GIMP_SIZE_ENTRY (entry), FALSE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
_("X:"), 0.0, 0.5,
@ -1008,6 +1009,7 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
/* Y */
entry = gimp_prop_size_entry_new (config, "y0", "unit", "%a",
GIMP_SIZE_ENTRY_UPDATE_SIZE, 300);
gtk_table_set_col_spacing (GTK_TABLE (entry), 1, 0);
gimp_size_entry_show_unit_menu (GIMP_SIZE_ENTRY (entry), FALSE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
_("Y:"), 0.0, 0.5,
@ -1018,6 +1020,7 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
"width", "unit", "%a",
GIMP_SIZE_ENTRY_UPDATE_SIZE,
300);
gtk_table_set_col_spacing (GTK_TABLE (private->width_entry), 1, 0);
gimp_size_entry_show_unit_menu (GIMP_SIZE_ENTRY (private->width_entry),
FALSE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row,
@ -1030,6 +1033,7 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
"height", "unit", "%a",
GIMP_SIZE_ENTRY_UPDATE_SIZE,
300);
gtk_table_set_col_spacing (GTK_TABLE (private->height_entry), 1, 0);
gimp_size_entry_show_unit_menu (GIMP_SIZE_ENTRY (private->height_entry),
FALSE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row,