]> git.0d.be Git - empathy.git/commitdiff
PresetDialog: make the window taller
authorWill Thompson <will.thompson@collabora.co.uk>
Fri, 10 Jun 2011 19:07:35 +0000 (20:07 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Fri, 24 Jun 2011 09:45:38 +0000 (10:45 +0100)
The element we really care about the size of is the list of statuses
past. So I moved the horizontal size request to that—the window has 6px
of padding or so, so this makes it pretty much exactly the same
width—and made the height request be in the golden ratio to it.

I'm probably unusual in having enough statuses to fill my laptop screen
vertically, but, subjectively, this makes the dialog look less stubby
even now I've removed them all to test.

https://bugzilla.gnome.org/show_bug.cgi?id=630943

libempathy-gtk/empathy-status-preset-dialog.ui

index 07d8f14b99040b79c805e13da25311d5e048c1df..fcc868ebdfefa0fbc9545fe6545a3ad174d6cde2 100644 (file)
@@ -3,8 +3,6 @@
   <requires lib="gtk+" version="2.16"/>
   <!-- interface-naming-policy project-wide -->
   <object class="GtkVBox" id="toplevel-vbox">
-    <property name="width_request">420</property>
-    <property name="height_request">260</property>
     <property name="visible">True</property>
     <property name="border_width">6</property>
     <property name="orientation">vertical</property>
@@ -26,6 +24,8 @@
     </child>
     <child>
       <object class="GtkScrolledWindow" id="scrolledwindow1">
+        <property name="width_request">408</property>
+        <property name="height_request">252</property>
         <property name="visible">True</property>
         <property name="can_focus">True</property>
         <property name="hscrollbar_policy">never</property>