left align toggle buttons.
2004-06-05 Sven Neumann <sven@gimp.org> * plug-ins/script-fu/script-fu-scripts.c (script_fu_interface): left align toggle buttons.
This commit is contained in:

committed by
Sven Neumann

parent
3cc11e1b1a
commit
ef2df33f9e
@ -1,3 +1,8 @@
|
|||||||
|
2004-06-05 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
|
||||||
|
left align toggle buttons.
|
||||||
|
|
||||||
2004-06-05 Sven Neumann <sven@gimp.org>
|
2004-06-05 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/text/gimptextlayer-transform.[ch]: updated the (still unused)
|
* app/text/gimptextlayer-transform.[ch]: updated the (still unused)
|
||||||
|
@ -1374,11 +1374,21 @@ script_fu_interface (SFScript *script)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (widget)
|
if (widget)
|
||||||
gimp_table_attach_aligned (GTK_TABLE (table), 0, i,
|
{
|
||||||
label_text, 0.0, label_yalign,
|
if (label_text)
|
||||||
widget, 2, leftalign);
|
{
|
||||||
|
gimp_table_attach_aligned (GTK_TABLE (table), 0, i,
|
||||||
g_free (label_text);
|
label_text, 0.0, label_yalign,
|
||||||
|
widget, 2, leftalign);
|
||||||
|
g_free (label_text);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
gtk_table_attach (GTK_TABLE (table), widget, 0, 3, i, i+1,
|
||||||
|
GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0);
|
||||||
|
gtk_widget_show (widget);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sf_interface->args_widgets[i] = widget;
|
sf_interface->args_widgets[i] = widget;
|
||||||
}
|
}
|
||||||
|
@ -1374,11 +1374,21 @@ script_fu_interface (SFScript *script)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (widget)
|
if (widget)
|
||||||
gimp_table_attach_aligned (GTK_TABLE (table), 0, i,
|
{
|
||||||
label_text, 0.0, label_yalign,
|
if (label_text)
|
||||||
widget, 2, leftalign);
|
{
|
||||||
|
gimp_table_attach_aligned (GTK_TABLE (table), 0, i,
|
||||||
g_free (label_text);
|
label_text, 0.0, label_yalign,
|
||||||
|
widget, 2, leftalign);
|
||||||
|
g_free (label_text);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
gtk_table_attach (GTK_TABLE (table), widget, 0, 3, i, i+1,
|
||||||
|
GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0);
|
||||||
|
gtk_widget_show (widget);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sf_interface->args_widgets[i] = widget;
|
sf_interface->args_widgets[i] = widget;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user