[PATCH 11/15] gnome-control-center: Dialog shrinkage



gnome-control-center:  109_cc-randr12-gui-shrinkage.patch (LP: #203897,
#204447)

The dialog was not always fitting properly on smaller screen resolutions
(640x480 in particular), especially if the user was also having DPI
issues.  This patch reduces padding, border width, and spacings to make
it fit on 640x480 with some slack.


diff -Nur -x '*.orig' -x '*~' gnome-control-center-2.22.1/capplets/display/display-capplet.glade gnome-control-center-2.22.1.new/capplets/display/display-capplet.glade
--- gnome-control-center-2.22.1/capplets/display/display-capplet.glade	2008-04-09 11:09:34.000000000 +0100
+++ gnome-control-center-2.22.1.new/capplets/display/display-capplet.glade	2008-04-09 11:10:50.000000000 +0100
@@ -4,7 +4,7 @@
 <glade-interface>
 
 <widget class="GtkDialog" id="dialog">
-  <property name="border_width">18</property>
+  <property name="border_width">5</property>
   <property name="title" translatable="yes">Monitor Resolution Settings</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
@@ -145,10 +145,10 @@
 		  <property name="yalign">0.5</property>
 		  <property name="xscale">1</property>
 		  <property name="yscale">1</property>
-		  <property name="top_padding">12</property>
+		  <property name="top_padding">6</property>
 		  <property name="bottom_padding">12</property>
-		  <property name="left_padding">24</property>
-		  <property name="right_padding">24</property>
+		  <property name="left_padding">12</property>
+		  <property name="right_padding">12</property>
 
 		  <child>
 		    <widget class="GtkTable" id="table1">
@@ -156,8 +156,8 @@
 		      <property name="n_rows">2</property>
 		      <property name="n_columns">4</property>
 		      <property name="homogeneous">False</property>
-		      <property name="row_spacing">12</property>
-		      <property name="column_spacing">12</property>
+		      <property name="row_spacing">6</property>
+		      <property name="column_spacing">6</property>
 
 		      <child>
 			<widget class="GtkLabel" id="label2">


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