[dconf-editor] Add right- and left- margins to warning label.



commit 9af42e2fda623864aa2be3e1fefa680183d0d4d7
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Dec 10 09:58:19 2017 +0100

    Add right- and left- margins to warning label.

 editor/dconf-editor.css   |    5 +++++
 editor/registry-info.vala |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/editor/dconf-editor.css b/editor/dconf-editor.css
index 8897f2e..e301226 100644
--- a/editor/dconf-editor.css
+++ b/editor/dconf-editor.css
@@ -313,6 +313,11 @@
   color:@unfocused_insensitive_color;
 }
 
+.warning-label {
+  margin-right:8em;
+  margin-left:8em;
+}
+
 .big-popover {
   font-size:144%;
 }
diff --git a/editor/registry-info.vala b/editor/registry-info.vala
index 173ea3f..4bb6841 100644
--- a/editor/registry-info.vala
+++ b/editor/registry-info.vala
@@ -345,6 +345,7 @@ class RegistryInfo : Grid, BrowsableView
         StyleContext context = label.get_style_context ();
         context.add_class ("italic-label");
         context.add_class ("greyed-label");
+        context.add_class ("warning-label");
         return (Widget) label;
     }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]