diff --git a/src/libsysprof-gtk/style.css b/src/libsysprof-gtk/style.css index 534a612f..8ecb86d9 100644 --- a/src/libsysprof-gtk/style.css +++ b/src/libsysprof-gtk/style.css @@ -76,3 +76,21 @@ timeruler { color: alpha(currentColor, .8); background: alpha(@borders, .25); } + +tracks track chart { + margin-top: 1px; +} +tracks track info { + background: alpha(@borders, .5); +} +tracks track info button { + min-height: 0px; + min-width: 0px; +} +tracks row { + padding: 0; + margin: 0; +} +tracks row track info { + padding: 1px 0 0 0; +} diff --git a/src/libsysprof-gtk/sysprof-tracks-view.c b/src/libsysprof-gtk/sysprof-tracks-view.c index 69780afb..2b6d3369 100644 --- a/src/libsysprof-gtk/sysprof-tracks-view.c +++ b/src/libsysprof-gtk/sysprof-tracks-view.c @@ -117,6 +117,7 @@ sysprof_tracks_view_class_init (SysprofTracksViewClass *klass) gtk_widget_class_set_template_from_resource (widget_class, "/libsysprof-gtk/sysprof-tracks-view.ui"); gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BIN_LAYOUT); + gtk_widget_class_set_css_name (widget_class, "tracks"); gtk_widget_class_bind_template_child (widget_class, SysprofTracksView, list_view); g_type_ensure (SYSPROF_TYPE_TIME_RULER); diff --git a/src/libsysprof-gtk/sysprof-tracks-view.ui b/src/libsysprof-gtk/sysprof-tracks-view.ui index eab29df0..27fb60a9 100644 --- a/src/libsysprof-gtk/sysprof-tracks-view.ui +++ b/src/libsysprof-gtk/sysprof-tracks-view.ui @@ -39,6 +39,7 @@ track + info true true false @@ -51,10 +52,14 @@ + 6 true ellipsize-end +