[glom] Print Layout: Line editing: Allow decimal places.



commit 97eeb06d84768e5cd8f200d14ed27dcc1b4419fd
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Aug 30 10:12:26 2011 +0200

    Print Layout: Line editing: Allow decimal places.
    
    * ui/developer/dialog_line.glade: Add an outer border, to match the other
      dialogs. Let the SpinButton show (and allow) 3 decimal places.

 ChangeLog                      |    7 +++++++
 ui/developer/dialog_line.glade |   11 +++++------
 2 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2086541..61904a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-08-30  Murray Cumming  <murrayc murrayc com>
 
+	Print Layout: Line editing: Allow decimal places.
+
+	* ui/developer/dialog_line.glade: Add an outer border, to match the other 
+  dialogs. Let the SpinButton show (and allow) 3 decimal places.
+
+2011-08-30  Murray Cumming  <murrayc murrayc com>
+
 	Print Layout: Slight improvement to image scaling.
 
 	* glom/utility_widgets/canvas/canvas_image_movable.cc: scale_to_size():
diff --git a/ui/developer/dialog_line.glade b/ui/developer/dialog_line.glade
index 6cdceae..c1e3af4 100644
--- a/ui/developer/dialog_line.glade
+++ b/ui/developer/dialog_line.glade
@@ -4,15 +4,13 @@
   <!-- interface-naming-policy toplevel-contextual -->
   <object class="GtkAdjustment" id="adjustment1">
     <property name="upper">300</property>
-    <property name="step_increment">1</property>
+    <property name="step_increment">0.5</property>
     <property name="page_increment">10</property>
   </object>
   <object class="GtkDialog" id="dialog_line">
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">Text Object</property>
     <property name="window_position">center-on-parent</property>
-    <property name="default_width">300</property>
-    <property name="default_height">400</property>
     <property name="type_hint">dialog</property>
     <child internal-child="vbox">
       <object class="GtkVBox" id="dialog-vbox2">
@@ -84,6 +82,7 @@
           <object class="GtkTable" id="table1">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
+            <property name="border_width">6</property>
             <property name="n_rows">2</property>
             <property name="n_columns">2</property>
             <property name="column_spacing">6</property>
@@ -124,7 +123,7 @@
                 <property name="primary_icon_sensitive">True</property>
                 <property name="secondary_icon_sensitive">True</property>
                 <property name="adjustment">adjustment1</property>
-                <property name="numeric">True</property>
+                <property name="digits">3</property>
               </object>
               <packing>
                 <property name="left_attach">1</property>
@@ -150,8 +149,8 @@
             </child>
           </object>
           <packing>
-            <property name="expand">True</property>
-            <property name="fill">True</property>
+            <property name="expand">False</property>
+            <property name="fill">False</property>
             <property name="position">1</property>
           </packing>
         </child>



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