mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
inscription: Set css name
We use "label" just like GtkLabel as the two widgets differ in the way they are measured, but they should be styled the same. If it turns out we change our opinion on this for specific cases, we can add style classes later.
This commit is contained in:
parent
e437a9c348
commit
7c034cc283
@ -654,6 +654,7 @@ gtk_inscription_class_init (GtkInscriptionClass *klass)
|
||||
|
||||
g_object_class_install_properties (gobject_class, N_PROPS, properties);
|
||||
|
||||
gtk_widget_class_set_css_name (widget_class, "label");
|
||||
gtk_widget_class_set_accessible_role (widget_class, GTK_ACCESSIBLE_ROLE_LABEL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user