[gnome-break-timer/dylanmccall/meson-build: 9/25] Add padding to break settings dialog



commit c74d7f7b4c7c1dc2d3509cef48b929f96caff661
Author: Dylan McCall <dylan dylanmccall com>
Date:   Mon Dec 31 23:57:37 2018 -0800

    Add padding to break settings dialog

 settings/BreakSettingsDialog.vala | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/settings/BreakSettingsDialog.vala b/settings/BreakSettingsDialog.vala
index 2655afd..82c790e 100644
--- a/settings/BreakSettingsDialog.vala
+++ b/settings/BreakSettingsDialog.vala
@@ -29,7 +29,7 @@ public class BreakSettingsDialog : Gtk.Dialog {
        private const int ABOUT_BUTTON_RESPONSE = 5;
        
        public BreakSettingsDialog (BreakManager break_manager) {
-               Object ();
+               Object (use_header_bar: 1);
                this.break_manager = break_manager;
 
                GLib.Settings settings = new GLib.Settings ("org.gnome.break-timer");
@@ -47,8 +47,10 @@ public class BreakSettingsDialog : Gtk.Dialog {
                Gtk.Grid content = new Gtk.Grid ();
                content_area.add (content);
                content.set_orientation (Gtk.Orientation.VERTICAL);
-               content.set_margin_left (10);
+               content.set_margin_top (10);
                content.set_margin_right (10);
+               content.set_margin_bottom (10);
+               content.set_margin_left (10);
 
                this.configuration_chooser = new BreakConfigurationChooser ();
                content.add (this.configuration_chooser);


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