summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylepropertyimpl.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-04-18 17:34:44 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-04-18 17:34:44 +0000
commit8400d8e75d70242aa7283eaa3dd0eeab1a46e1d4 (patch)
treef57d207bb2ec468f7a22bbdd48e07e9f808c4a1d /gtk/gtkcssstylepropertyimpl.c
parent638a3c142c53bf73076c9f52bc208b8cf6031189 (diff)
downloadgtk+-8400d8e75d70242aa7283eaa3dd0eeab1a46e1d4.tar.gz
css: Letterspacing affects text size
It does. And we were missing the proper flags to make GTK do the right thing when changing letter-spacing in the inspector.
Diffstat (limited to 'gtk/gtkcssstylepropertyimpl.c')
-rw-r--r--gtk/gtkcssstylepropertyimpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 6304c899fe..251adb4a9a 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -1030,7 +1030,7 @@ _gtk_css_style_property_init_properties (void)
GTK_CSS_PROPERTY_LETTER_SPACING,
G_TYPE_NONE,
GTK_STYLE_PROPERTY_INHERIT | GTK_STYLE_PROPERTY_ANIMATED,
- GTK_CSS_AFFECTS_TEXT_ATTRS,
+ GTK_CSS_AFFECTS_TEXT_ATTRS | GTK_CSS_AFFECTS_TEXT_SIZE,
parse_letter_spacing,
NULL,
_gtk_css_number_value_new (0.0, GTK_CSS_PX));