[gtk+/gtk-3-10] Print dialog: Use baseline alignment in page setup tab



commit 7121e4b3b55be2c2c323cd1396a7e65876b5630a
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 27 23:16:28 2014 -0500

    Print dialog: Use baseline alignment in page setup tab
    
    Based on a patch from
    https://bugzilla.gnome.org/show_bug.cgi?id=722722

 gtk/gtkprintunixdialog.ui |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/gtk/gtkprintunixdialog.ui b/gtk/gtkprintunixdialog.ui
index 2a985ec..011e0c5 100644
--- a/gtk/gtkprintunixdialog.ui
+++ b/gtk/gtkprintunixdialog.ui
@@ -582,7 +582,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">T_wo-sided:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">duplex</property>
@@ -598,6 +598,7 @@
                                   <object class="GtkPrinterOptionWidget" id="duplex">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
+                                    <property name="valign">baseline</property>
                                     <child>
                                       <placeholder/>
                                     </child>
@@ -614,7 +615,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">Pages per _side:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">pages_per_sheet</property>
@@ -630,6 +631,7 @@
                                   <object class="GtkPrinterOptionWidget" id="pages_per_sheet">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
+                                    <property name="valign">baseline</property>
                                     <signal name="changed" handler="redraw_page_layout_preview" 
object="GtkPrintUnixDialog" swapped="yes"/>
                                     <signal name="changed" handler="update_number_up_layout" 
object="GtkPrintUnixDialog" swapped="yes"/>
                                     <child>
@@ -648,7 +650,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">Page or_dering:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">number_up_layout</property>
@@ -664,6 +666,7 @@
                                   <object class="GtkPrinterOptionWidget" id="number_up_layout">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
+                                    <property name="valign">baseline</property>
                                     <signal name="changed" handler="redraw_page_layout_preview" 
object="GtkPrintUnixDialog" swapped="yes"/>
                                     <child>
                                       <placeholder/>
@@ -681,7 +684,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">_Only print:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">page_set_combo</property>
@@ -697,6 +700,7 @@
                                   <object class="GtkComboBoxText" id="page_set_combo">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
+                                    <property name="valign">baseline</property>
                                     <property name="active">0</property>
                                     <property name="entry_text_column">0</property>
                                     <property name="id_column">1</property>
@@ -718,7 +722,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">Sc_ale:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">scale_spin</property>
@@ -738,6 +742,7 @@
                                     <child>
                                       <object class="GtkSpinButton" id="scale_spin">
                                         <property name="visible">True</property>
+                                        <property name="valign">baseline</property>
                                         <property name="can_focus">True</property>
                                         <property name="invisible_char">•</property>
                                         <property name="adjustment">scale_spin_adjustment</property>
@@ -753,6 +758,7 @@
                                       <object class="GtkLabel" id="label10">
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
+                                        <property name="valign">baseline</property>
                                         <property name="label">%</property>
                                       </object>
                                       <packing>
@@ -818,7 +824,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">Paper _type:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">paper_type</property>
@@ -834,6 +840,7 @@
                                   <object class="GtkPrinterOptionWidget" id="paper_type">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
+                                    <property name="valign">baseline</property>
                                     <child>
                                       <placeholder/>
                                     </child>
@@ -850,7 +857,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">Paper _source:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">paper_source</property>
@@ -866,6 +873,7 @@
                                   <object class="GtkPrinterOptionWidget" id="paper_source">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
+                                    <property name="valign">baseline</property>
                                     <child>
                                       <placeholder/>
                                     </child>
@@ -882,7 +890,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">Output t_ray:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">output_tray</property>
@@ -898,6 +906,7 @@
                                   <object class="GtkPrinterOptionWidget" id="output_tray">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
+                                    <property name="valign">baseline</property>
                                     <child>
                                       <placeholder/>
                                     </child>
@@ -914,7 +923,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">_Paper size:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">paper_size_combo</property>
@@ -932,6 +941,7 @@
                                     <property name="sensitive">False</property>
                                     <property name="can_focus">False</property>
                                     <property name="model">page_setup_list</property>
+                                    <property name="valign">baseline</property>
                                     <child>
                                       <object class="GtkCellRendererText" id="paper_size_renderer"/>
                                     </child>
@@ -948,7 +958,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="halign">start</property>
-                                    <property name="valign">center</property>
+                                    <property name="valign">baseline</property>
                                     <property name="label" translatable="yes">Or_ientation:</property>
                                     <property name="use_underline">True</property>
                                     <property name="mnemonic_widget">orientation_combo</property>
@@ -967,6 +977,7 @@
                                     <property name="can_focus">False</property>
                                     <property name="active">0</property>
                                     <property name="entry_text_column">0</property>
+                                    <property name="valign">baseline</property>
                                     <property name="id_column">1</property>
                                     <items>
                                       <item translatable="yes">Portrait</item>


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