mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
textview: Don't forget to collect css letterspacing
There are more properties missing, this is just the start. Fixes: #4207
This commit is contained in:
parent
38040c96d6
commit
93148d302f
@ -7670,6 +7670,9 @@ gtk_text_view_set_attributes_from_style (GtkTextView *text_view,
|
||||
if (gtk_css_number_value_get_dimension (style->font->line_height) == GTK_CSS_DIMENSION_LENGTH)
|
||||
values->line_height_is_absolute = TRUE;
|
||||
}
|
||||
|
||||
values->letter_spacing = _gtk_css_number_value_get (style->font->letter_spacing, 100) * PANGO_SCALE;
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user