diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-04-18 17:34:44 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-04-18 17:34:44 +0000 |
commit | 8400d8e75d70242aa7283eaa3dd0eeab1a46e1d4 (patch) | |
tree | f57d207bb2ec468f7a22bbdd48e07e9f808c4a1d /gtk/gtkcssstylepropertyimpl.c | |
parent | 638a3c142c53bf73076c9f52bc208b8cf6031189 (diff) | |
download | gtk+-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.c | 2 |
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)); |