diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2010-07-10 08:36:42 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2010-07-10 08:36:42 +0000 |
| commit | a03928688ee7805ad8bf79e384769d983dbc451d (patch) | |
| tree | c9fc770ba6e6ec7b47e168c5f56d88a95c58cd9f | |
| parent | Translations. Indonesian translation update by Waluyo Adi Siswanto. (diff) | |
| download | inkscape-a03928688ee7805ad8bf79e384769d983dbc451d.tar.gz inkscape-a03928688ee7805ad8bf79e384769d983dbc451d.zip | |
CSS length attributes must have units.
(bzr r9605)
| -rw-r--r-- | src/widgets/toolbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index b68d8404d..bdf1e6ff2 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -6861,7 +6861,7 @@ static void sp_text_wordspacing_value_changed( GtkAdjustment *adj, GObject *tbl // Set css word-spacing SPCSSAttr *css = sp_repr_css_attr_new (); Inkscape::CSSOStringStream osfs; - osfs << adj->value; + osfs << adj->value << "px"; // For now always use px sp_repr_css_set_property (css, "word-spacing", osfs.str().c_str()); // Apply word-spacing to selected objects. @@ -6900,7 +6900,7 @@ static void sp_text_letterspacing_value_changed( GtkAdjustment *adj, GObject *tb // Set css letter-spacing SPCSSAttr *css = sp_repr_css_attr_new (); Inkscape::CSSOStringStream osfs; - osfs << adj->value; + osfs << adj->value << "px"; // For now always use px sp_repr_css_set_property (css, "letter-spacing", osfs.str().c_str()); // Apply letter-spacing to selected objects. |
