[gnome-sudoku] print-dialog: tweaks



commit 1a050cb9b7b71c99b689ebd1c0f8fcafe8228e75
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Oct 3 20:51:49 2014 -0500

    print-dialog: tweaks

 data/print-dialog.ui  |    7 ++++---
 src/print-dialog.vala |    1 +
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/print-dialog.ui b/data/print-dialog.ui
index b0c1450..a6c121d 100644
--- a/data/print-dialog.ui
+++ b/data/print-dialog.ui
@@ -5,13 +5,13 @@
   <object class="GtkAdjustment" id="adjustment1">
     <property name="lower">1</property>
     <property name="upper">100</property>
-    <property name="value">4</property>
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
   </object>
   <template class="PrintDialog" parent="GtkDialog">
     <property name="title" translatable="yes">Print Multiple Puzzles</property>
     <property name="can_focus">False</property>
+    <property name="resizable">False</property>
     <property name="type_hint">dialog</property>
     <property name="width_request">450</property>
     <property name="expand">False</property>
@@ -24,6 +24,7 @@
         <property name="can_default">True</property>
         <property name="receives_default">False</property>
         <property name="use_underline">True</property>
+        <property name="valign">center</property>
       </object>
     </child>
     <child type="action">
@@ -47,8 +48,8 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="border_width">12</property>
-            <property name="spacing">20</property>
-            <property name="margin">7</property>
+            <property name="spacing">18</property>
+            <property name="margin">6</property>
             <property name="orientation">vertical</property>
             <child>
               <object class="GtkBox" id="print_box">
diff --git a/src/print-dialog.vala b/src/print-dialog.vala
index 3363094..e353f6f 100644
--- a/src/print-dialog.vala
+++ b/src/print-dialog.vala
@@ -54,6 +54,7 @@ public class PrintDialog : Gtk.Dialog
         set_transient_for (window);
 
         spinner = new Gtk.Spinner ();
+        spinner.valign = Gtk.Align.CENTER;
         if (use_header_bar == 1)
             ((Gtk.HeaderBar) get_header_bar ()).pack_end (spinner);
 


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