[gegl] text: add some ui_meta
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] text: add some ui_meta
- Date: Sat, 8 Jul 2017 21:45:09 +0000 (UTC)
commit 4c3f75d536050e8264468bda2672a488f01bff95
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Jul 8 21:31:28 2017 +0200
text: add some ui_meta
operations/external/text.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/operations/external/text.c b/operations/external/text.c
index 0f70a5f..62b9058 100644
--- a/operations/external/text.c
+++ b/operations/external/text.c
@@ -32,6 +32,7 @@ property_string (font, _("Font family"), "Sans")
property_double (size, _("Size"), 10.0)
description (_("Font size in pixels."))
value_range (0.0, 2048.0)
+ ui_meta ("unit", "pixel-distance")
property_color (color, _("Color"), "black")
/* TRANSLATORS: the string 'black' should not be translated */
@@ -40,11 +41,13 @@ property_color (color, _("Color"), "black")
property_int (wrap, _("Wrap width"), -1)
description (_("Sets the width in pixels at which long lines will wrap. "
"Use -1 for no wrapping."))
+ ui_meta ("unit", "pixel-distance")
value_range (-1, 1000000)
property_int (vertical_wrap, _("Wrap height"), 0)
description (_("Sets the height in pixels according to which the text is "
"vertically justified. "
"Use -1 for no vertical justification."))
+ ui_meta ("unit", "pixel-distance")
value_range (-1, 1000000)
property_int (alignment, _("Justification"), 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]