Commit 6750667d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align

2004-05-12  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal)
	* app/widgets/gimpwidgets-utils.c (gimp_table_attach_stock):
	left-align the label.

	* app/actions/channels-commands.c
	* app/actions/layers-commands.c
	* app/actions/qmask-commands.c
	* app/actions/vectors-commands.c
	* app/display/gimpdisplayshell-scale.c
	* app/gui/brush-select.c
	* app/gui/file-new-dialog.c
	* app/gui/info-dialog.c
	* app/gui/info-window.c
	* app/gui/module-browser.c
	* app/gui/offset-dialog.c
	* app/gui/palette-import-dialog.c
	* app/gui/preferences-dialog.c
	* app/gui/resize-dialog.c
	* app/tools/gimpblendoptions.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpselectionoptions.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptextoptions.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpgrideditor.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpstrokeeditor.c
	* app/widgets/gimpwidgets-utils.c: left-align labels as suggested
	by the HIG.
parent de7a9405
2004-05-12 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal)
* app/widgets/gimpwidgets-utils.c (gimp_table_attach_stock):
left-align the label.
* app/actions/channels-commands.c
* app/actions/layers-commands.c
* app/actions/qmask-commands.c
* app/actions/vectors-commands.c
* app/display/gimpdisplayshell-scale.c
* app/gui/brush-select.c
* app/gui/file-new-dialog.c
* app/gui/info-dialog.c
* app/gui/info-window.c
* app/gui/module-browser.c
* app/gui/offset-dialog.c
* app/gui/palette-import-dialog.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.c
* app/tools/gimpblendoptions.c
* app/tools/gimpcroptool.c
* app/tools/gimpmeasuretool.c
* app/tools/gimppaintoptions-gui.c
* app/tools/gimpscaletool.c
* app/tools/gimpselectionoptions.c
* app/tools/gimpsheartool.c
* app/tools/gimptextoptions.c
* app/widgets/gimpcolormapeditor.c
* app/widgets/gimpgrideditor.c
* app/widgets/gimphistogrameditor.c
* app/widgets/gimplayertreeview.c
* app/widgets/gimpstrokeeditor.c
* app/widgets/gimpwidgets-utils.c: left-align labels as suggested
by the HIG.
2004-05-12 Michael Natterer <mitch@gimp.org>
* app/config/gimpconfig-deserialize.c
......
......@@ -387,7 +387,7 @@ channels_new_channel_query (GimpImage *gimage,
gtk_entry_set_text (GTK_ENTRY (options->name_entry),
(channel_name ? channel_name : _("New Channel")));
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("Channel Name:"), 1.0, 0.5,
_("Channel Name:"), 0.0, 0.5,
options->name_entry, 2, FALSE);
/* The opacity scale */
......@@ -550,7 +550,7 @@ channels_edit_channel_query (GimpChannel *channel,
gtk_entry_set_text (GTK_ENTRY (options->name_entry),
gimp_object_get_name (GIMP_OBJECT (channel)));
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("Channel Name:"), 1.0, 0.5,
_("Channel Name:"), 0.0, 0.5,
options->name_entry, 2, FALSE);
/* The opacity scale */
......
......@@ -772,18 +772,18 @@ layers_new_layer_query (GimpImage *gimage,
gtk_entry_set_text (GTK_ENTRY (options->name_entry),
(layer_name ? layer_name : _("New Layer")));
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("Layer _Name:"), 1.0, 0.5,
_("Layer _Name:"), 0.0, 0.5,
options->name_entry, 1, FALSE);
/* The size labels */
label = gtk_label_new (_("Layer Width:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
label = gtk_label_new (_("Width:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2,
GTK_SHRINK | GTK_FILL, GTK_SHRINK, 0, 0);
gtk_widget_show (label);
label = gtk_label_new (_("Height:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 2, 3,
GTK_SHRINK | GTK_FILL, GTK_SHRINK, 0, 0);
gtk_widget_show (label);
......
......@@ -189,7 +189,7 @@ qmask_channel_query (GimpDisplayShell *shell)
gtk_scale_set_value_pos (GTK_SCALE (opacity_scale), GTK_POS_TOP);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("Mask Opacity:"), 1.0, 1.0,
_("Mask Opacity:"), 0.0, 1.0,
opacity_scale, 1, FALSE);
g_signal_connect (opacity_scale_data, "value_changed",
......
......@@ -189,7 +189,7 @@ qmask_channel_query (GimpDisplayShell *shell)
gtk_scale_set_value_pos (GTK_SCALE (opacity_scale), GTK_POS_TOP);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("Mask Opacity:"), 1.0, 1.0,
_("Mask Opacity:"), 0.0, 1.0,
opacity_scale, 1, FALSE);
g_signal_connect (opacity_scale_data, "value_changed",
......
......@@ -509,7 +509,7 @@ vectors_new_vectors_query (GimpImage *gimage,
/* The name entry hbox, label and entry */
label = gtk_label_new (_("Path name:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
......@@ -627,7 +627,7 @@ vectors_edit_vectors_query (GimpVectors *vectors,
/* The name entry */
label = gtk_label_new (_("Path name:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (label);
......
......@@ -127,7 +127,7 @@ file_new_dialog_new (Gimp *gimp)
dialog->combo = gimp_container_combo_box_new (gimp->templates, NULL, 16, 0);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("_Template:"), 1.0, 0.5,
_("_Template:"), 0.0, 0.5,
dialog->combo, 1, FALSE);
g_signal_connect (dialog->combo, "select_item",
......
......@@ -406,7 +406,7 @@ info_dialog_field_new (InfoDialog *idialog,
gtk_table_resize (GTK_TABLE (idialog->info_table), 2, row);
label = gtk_label_new (title);
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (idialog->info_table), label,
0, 1, row - 1, row,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
......
......@@ -153,13 +153,13 @@ info_window_create_extended (InfoDialog *info_win,
iwd->pixel_labels[0] = gtk_label_new (_("n/a"));
gtk_misc_set_alignment (GTK_MISC (iwd->pixel_labels[0]), 0.0, 0.5);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("X:"), 1.0, 0.5,
_("X:"), 0.0, 0.5,
iwd->pixel_labels[0], 1, FALSE);
iwd->pixel_labels[1] = gtk_label_new (_("n/a"));
gtk_misc_set_alignment (GTK_MISC (iwd->pixel_labels[1]), 0.0, 0.5);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
_("Y:"), 1.0, 0.5,
_("Y:"), 0.0, 0.5,
iwd->pixel_labels[1], 1, FALSE);
frame = gimp_frame_new (_("Units"));
......@@ -175,13 +175,13 @@ info_window_create_extended (InfoDialog *info_win,
iwd->unit_labels[0] = gtk_label_new (_("n/a"));
gtk_misc_set_alignment (GTK_MISC (iwd->unit_labels[0]), 0.0, 0.5);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("X:"), 1.0, 0.5,
_("X:"), 0.0, 0.5,
iwd->unit_labels[0], 1, FALSE);
iwd->unit_labels[1] = gtk_label_new (_("n/a"));
gtk_misc_set_alignment (GTK_MISC (iwd->unit_labels[1]), 0.0, 0.5);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
_("Y:"), 1.0, 0.5,
_("Y:"), 0.0, 0.5,
iwd->unit_labels[1], 1, FALSE);
......
......@@ -510,7 +510,7 @@ browser_info_init (ModuleBrowser *browser,
for (i = 0; i < G_N_ELEMENTS (text); i++)
{
label = gtk_label_new (gettext (text[i]));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, i, i + 1,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 2);
gtk_widget_show (label);
......
......@@ -161,9 +161,9 @@ offset_dialog_new (GimpDrawable *drawable,
gtk_widget_show (spinbutton);
gimp_size_entry_attach_label (GIMP_SIZE_ENTRY (off_d->off_se),
_("_X:"), 0, 0, 1.0);
_("_X:"), 0, 0, 0.0);
gimp_size_entry_attach_label (GIMP_SIZE_ENTRY (off_d->off_se),
_("_Y:"), 1, 0, 1.0);
_("_Y:"), 1, 0, 0.0);
gtk_box_pack_start (GTK_BOX (vbox), off_d->off_se, FALSE, FALSE, 0);
gtk_widget_show (off_d->off_se);
......
......@@ -258,21 +258,21 @@ palette_import_dialog_new (Gimp *gimp)
gimp_container_combo_box_new (gimp->gradient_factory->container,
import_dialog->context, 24, 1);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
NULL, 1.0, 0.5,
NULL, 0.0, 0.5,
import_dialog->gradient_combo, 1, FALSE);
/* The image menu */
import_dialog->image_combo =
gimp_container_combo_box_new (gimp->images, import_dialog->context, 24, 1);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
NULL, 1.0, 0.5,
NULL, 0.0, 0.5,
import_dialog->image_combo, 1, FALSE);
/* Palette file name entry */
import_dialog->filename_entry =
gimp_file_entry_new (_("Select palette file"), 0, FALSE, FALSE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 2,
NULL, 1.0, 0.5,
NULL, 0.0, 0.5,
import_dialog->filename_entry, 1, FALSE);
gtk_widget_show (import_dialog->filename_entry);
......@@ -316,7 +316,7 @@ palette_import_dialog_new (Gimp *gimp)
gtk_entry_set_text (GTK_ENTRY (import_dialog->entry),
gradient ? GIMP_OBJECT (gradient)->name : _("New Import"));
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("Palette _Name:"), 1.0, 0.5,
_("Palette _Name:"), 0.0, 0.5,
import_dialog->entry, 2, FALSE);
/* The # of colors */
......
......@@ -740,7 +740,7 @@ prefs_color_button_add (GObject *config,
if (button)
gimp_table_attach_aligned (table, 0, table_row,
label, 1.0, 0.5,
label, 0.0, 0.5,
button, 1, TRUE);
return button;
......@@ -762,7 +762,7 @@ prefs_enum_combo_box_add (GObject *config,
if (combo_box)
gimp_table_attach_aligned (table, 0, table_row,
label, 1.0, 0.5,
label, 0.0, 0.5,
combo_box, 1, TRUE);
return combo_box;
......@@ -784,7 +784,7 @@ prefs_boolean_combo_box_add (GObject *config,
if (menu)
gimp_table_attach_aligned (table, 0, table_row,
label, 1.0, 0.5,
label, 0.0, 0.5,
menu, 1, TRUE);
return menu;
......@@ -808,7 +808,7 @@ prefs_spin_button_add (GObject *config,
if (spinbutton)
gimp_table_attach_aligned (table, 0, table_row,
label, 1.0, 0.5,
label, 0.0, 0.5,
spinbutton, 1, TRUE);
return spinbutton;
......@@ -827,7 +827,7 @@ prefs_memsize_entry_add (GObject *config,
if (entry)
gimp_table_attach_aligned (table, 0, table_row,
label, 1.0, 0.5,
label, 0.0, 0.5,
entry, 1, TRUE);
return entry;
......@@ -1101,7 +1101,7 @@ prefs_dialog_new (Gimp *gimp,
combo = gimp_container_combo_box_new (gimp->templates, NULL, 16, 0);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("From _Template:"), 1.0, 0.5,
_("_Template:"), 0.0, 0.5,
combo, 1, FALSE);
gimp_container_view_select_item (GIMP_CONTAINER_VIEW (combo), NULL);
......@@ -1334,7 +1334,7 @@ prefs_dialog_new (Gimp *gimp,
FALSE, FALSE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("Web Browser to Use:"), 1.0, 0.5,
_("Web Browser to Use:"), 0.0, 0.5,
fileselection, 1, TRUE);
#endif
......@@ -2048,7 +2048,7 @@ prefs_dialog_new (Gimp *gimp,
gettext (dirs[i].fs_label),
TRUE, TRUE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, i,
gettext (dirs[i].label), 1.0, 0.5,
gettext (dirs[i].label), 0.0, 0.5,
fileselection, 1, FALSE);
}
}
......
......@@ -289,14 +289,14 @@ resize_dialog_new (GimpViewable *viewable,
gtk_widget_show (table);
/* the original width & height labels */
label = gtk_label_new (_("Original Width:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
label = gtk_label_new (_("Current Width:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
label = gtk_label_new (_("Height:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
label = gtk_label_new (_("Current Height:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
......@@ -315,13 +315,13 @@ resize_dialog_new (GimpViewable *viewable,
/* the new size labels */
label = gtk_label_new (_("New Width:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 2, 3,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
label = gtk_label_new (_("Height:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
label = gtk_label_new (_("New Height:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 3, 4,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
......@@ -381,14 +381,14 @@ resize_dialog_new (GimpViewable *viewable,
orig_labels_update (private->size_se, dialog);
/* the scale ratio labels */
label = gtk_label_new (_("Ratio X:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
label = gtk_label_new (_("X Ratio:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 4, 5,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
label = gtk_label_new (_("Y:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
label = gtk_label_new (_("Y Ratio:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 5, 6,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
......@@ -483,9 +483,9 @@ resize_dialog_new (GimpViewable *viewable,
gtk_widget_show (spinbutton);
gimp_size_entry_attach_label (GIMP_SIZE_ENTRY (private->offset_se),
_("_X:"), 0, 0, 1.0);
_("_X:"), 0, 0, 0.0);
gimp_size_entry_attach_label (GIMP_SIZE_ENTRY (private->offset_se),
_("_Y:"), 1, 0, 1.0);
_("_Y:"), 1, 0, 0.0);
gtk_box_pack_start (GTK_BOX (vbox), private->offset_se, FALSE, FALSE, 0);
gtk_widget_show (private->offset_se);
......@@ -570,13 +570,13 @@ resize_dialog_new (GimpViewable *viewable,
/* the print size labels */
label = gtk_label_new (_("New Width:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
label = gtk_label_new (_("Height:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
label = gtk_label_new (_("New Height:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
......@@ -636,14 +636,14 @@ resize_dialog_new (GimpViewable *viewable,
dialog);
/* the resolution labels */
label = gtk_label_new (_("Resolution X:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
label = gtk_label_new (_("X Resolution:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 2, 3,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
label = gtk_label_new (_("Y:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
label = gtk_label_new (_("Y Resolution:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 3, 4,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (label);
......
......@@ -534,7 +534,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
hbox = gtk_hbox_new (FALSE, 4);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
_("Zoom Ratio:"), 1.0, 0.5,
_("Zoom Ratio:"), 0.0, 0.5,
hbox, 1, FALSE);
if (fabs (shell->other_scale) <= 0.0001)
......@@ -561,7 +561,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
hbox = gtk_hbox_new (FALSE, 4);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
_("Zoom:"), 1.0, 0.5,
_("Zoom:"), 0.0, 0.5,
hbox, 1, FALSE);
spin = gimp_spin_button_new (&data->scale_adj,
......
......@@ -203,7 +203,7 @@ brush_select_new (Gimp *gimp,
TRUE,
gimp_context_get_paint_mode (bsp->context));
gimp_table_attach_aligned (GTK_TABLE (table), 0, 2,
_("Mode:"), 1.0, 0.5,
_("Mode:"), 0.0, 0.5,
bsp->paint_mode_menu, 2, TRUE);
spacing_adj = GIMP_BRUSH_FACTORY_VIEW (bsp->view)->spacing_adjustment;
......
......@@ -127,7 +127,7 @@ file_new_dialog_new (Gimp *gimp)
dialog->combo = gimp_container_combo_box_new (gimp->templates, NULL, 16, 0);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("_Template:"), 1.0, 0.5,
_("_Template:"), 0.0, 0.5,
dialog->combo, 1, FALSE);
g_signal_connect (dialog->combo, "select_item",
......
......@@ -406,7 +406,7 @@ info_dialog_field_new (InfoDialog *idialog,
gtk_table_resize (GTK_TABLE (idialog->info_table), 2, row);
label = gtk_label_new (title);
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (idialog->info_table), label,
0, 1, row - 1, row,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
......
......@@ -153,13 +153,13 @@ info_window_create_extended (InfoDialog *info_win,
iwd->pixel_labels[0] = gtk_label_new (_("n/a"));
gtk_misc_set_alignment (GTK_MISC (iwd->pixel_labels[0]), 0.0, 0.5);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("X:"), 1.0, 0.5,
_("X:"), 0.0, 0.5,
iwd->pixel_labels[0], 1, FALSE);
iwd->pixel_labels[1] = gtk_label_new (_("n/a"));
gtk_misc_set_alignment (GTK_MISC (iwd->pixel_labels[1]), 0.0, 0.5);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
_("Y:"), 1.0, 0.5,
_("Y:"), 0.0, 0.5,
iwd->pixel_labels[1], 1, FALSE);
frame = gimp_frame_new (_("Units"));
......@@ -175,13 +175,13 @@ info_window_create_extended (InfoDialog *info_win,
iwd->unit_labels[0] = gtk_label_new (_("n/a"));
gtk_misc_set_alignment (GTK_MISC (iwd->unit_labels[0]), 0.0, 0.5);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("X:"), 1.0, 0.5,
_("X:"), 0.0, 0.5,
iwd->unit_labels[0], 1, FALSE);
iwd->unit_labels[1] = gtk_label_new (_("n/a"));
gtk_misc_set_alignment (GTK_MISC (iwd->unit_labels[1]), 0.0, 0.5);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
_("Y:"), 1.0, 0.5,
_("Y:"), 0.0, 0.5,
iwd->unit_labels[1], 1, FALSE);
......
......@@ -510,7 +510,7 @@ browser_info_init (ModuleBrowser *browser,
for (i = 0; i < G_N_ELEMENTS (text); i++)
{
label = gtk_label_new (gettext (text[i]));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, i, i + 1,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 2);
gtk_widget_show (label);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment