libsysprof-gtk: set single-line-mode

This commit is contained in:
Christian Hergert
2023-06-14 17:15:55 -07:00
parent 45465f7d9a
commit 4551b7871c
2 changed files with 4 additions and 0 deletions

View File

@ -139,6 +139,7 @@ sysprof_time_label_init (SysprofTimeLabel *self)
{
self->label = g_object_new (GTK_TYPE_LABEL,
"xalign", 1.f,
"single-line-mode", TRUE,
NULL);
gtk_widget_set_parent (GTK_WIDGET (self->label), GTK_WIDGET (self));
}