Commit c613136f authored by Christian Hergert's avatar Christian Hergert
Browse files

build-panel: don't use css for textview padding

We can just use properties, and then all themes get the change.
Additionally, I don't see the black borders when using the property
to set the value.
parent 2d2160fa
......@@ -70,9 +70,13 @@ gbp_build_log_panel_reset_view (GbpBuildLogPanel *self)
NULL);
self->text_view = g_object_new (GTK_TYPE_TEXT_VIEW,
"bottom-margin", 3,
"buffer", self->buffer,
"editable", FALSE,
"left-margin", 3,
"monospace", TRUE,
"right-margin", 3,
"top-margin", 3,
"visible", TRUE,
NULL);
context = gtk_widget_get_style_context (GTK_WIDGET (self->text_view));
......
......@@ -39,10 +39,6 @@ buildpanel list row image {
}
*/
buildlogpanel textview {
padding: 3px;
}
buildpanel box.build-status {
background: shade(@theme_bg_color, 0.96);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment