[file-roller/wip/gtk4: 43/54] use a smaller padding for the test integrity dialog
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/wip/gtk4: 43/54] use a smaller padding for the test integrity dialog
- Date: Sun, 2 Oct 2022 17:56:50 +0000 (UTC)
commit beca58283010b1a98e59a9e42fa825a27aed4af3
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Oct 1 23:16:25 2022 +0200
use a smaller padding for the test integrity dialog
src/fr-window.c | 1 +
src/ui/app.css | 4 ++++
2 files changed, 5 insertions(+)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index c9b0c04f..8a329d96 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -7435,6 +7435,7 @@ fr_window_view_last_output (FrWindow *window,
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (vbox)), "dialog-content");
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (vbox)), "small-padding");
gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (scrolled), text_view);
_gtk_box_pack_start (GTK_BOX (vbox), scrolled, TRUE, TRUE);
_gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), vbox, TRUE, TRUE);
diff --git a/src/ui/app.css b/src/ui/app.css
index dfbc8d67..53b48479 100644
--- a/src/ui/app.css
+++ b/src/ui/app.css
@@ -11,3 +11,7 @@
.dialog-content {
padding: 20px;
}
+
+.dialog-content.small-padding {
+ padding: 10px;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]