libsysprof-gtk: set numeric for time labels

This commit is contained in:
Christian Hergert
2023-06-14 17:16:11 -07:00
parent 4551b7871c
commit e25e44b02a

View File

@ -137,7 +137,10 @@ sysprof_time_label_class_init (SysprofTimeLabelClass *klass)
static void static void
sysprof_time_label_init (SysprofTimeLabel *self) sysprof_time_label_init (SysprofTimeLabel *self)
{ {
static const char *css_classes[] = {"numeric", NULL};
self->label = g_object_new (GTK_TYPE_LABEL, self->label = g_object_new (GTK_TYPE_LABEL,
"css-classes", css_classes,
"xalign", 1.f, "xalign", 1.f,
"single-line-mode", TRUE, "single-line-mode", TRUE,
NULL); NULL);