mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
css: Handle font-size changes properly
Changing font size does not cause widgets to update their size properly anymore, since we forgot an invalidation flag. The problem can be observed e.g. by running gtk3-demo and calling gsettings set org.gnome.desktop.interface font-name "Cantarell 22"
This commit is contained in:
parent
c763e73497
commit
31f502a9ae
@ -967,7 +967,7 @@ _gtk_css_style_property_init_properties (void)
|
||||
GTK_CSS_PROPERTY_FONT_SIZE,
|
||||
G_TYPE_DOUBLE,
|
||||
GTK_STYLE_PROPERTY_INHERIT | GTK_STYLE_PROPERTY_ANIMATED,
|
||||
GTK_CSS_AFFECTS_FONT | GTK_CSS_AFFECTS_TEXT,
|
||||
GTK_CSS_AFFECTS_FONT | GTK_CSS_AFFECTS_TEXT | GTK_CSS_AFFECTS_SIZE,
|
||||
font_size_parse,
|
||||
query_length_as_double,
|
||||
assign_length_from_double,
|
||||
|
Loading…
Reference in New Issue
Block a user