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

[vidalia-svn] r1706: Try some spacer voodoo to better center the %$&#@! status on (trunk/src/gui)



Author: edmanm
Date: 2007-04-09 23:28:18 -0400 (Mon, 09 Apr 2007)
New Revision: 1706

Modified:
   trunk/src/gui/mainwindow.ui
Log:
Try some spacer voodoo to better center the %$&#@! status onion.


Modified: trunk/src/gui/mainwindow.ui
===================================================================
--- trunk/src/gui/mainwindow.ui	2007-04-10 02:50:22 UTC (rev 1705)
+++ trunk/src/gui/mainwindow.ui	2007-04-10 03:28:18 UTC (rev 1706)
@@ -50,64 +50,87 @@
         <x>20</x>
         <y>10</y>
         <width>400</width>
-        <height>40</height>
+        <height>52</height>
        </rect>
       </property>
       <property name="minimumSize" >
        <size>
         <width>400</width>
-        <height>40</height>
+        <height>52</height>
        </size>
       </property>
       <property name="title" >
        <string>Tor Status</string>
       </property>
-     <layout class="QHBoxLayout" >
+     <layout class="QVBoxLayout" >
       <property name="margin" >
        <number>0</number>
       </property>
       <property name="spacing" >
-       <number>6</number>
+       <number>0</number>
       </property>
       <item>
-       <spacer>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
+      <layout class="QHBoxLayout" >
+        <property name="margin" >
+         <number>0</number>
         </property>
-        <property name="sizeHint" >
-         <size>
-          <width>20</width>
-          <height>0</height>
-         </size>
+        <property name="spacing" >
+         <number>6</number>
         </property>
-       </spacer>
+        <item>
+         <spacer>
+          <property name="orientation" >
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeHint" >
+           <size>
+            <width>20</width>
+            <height>0</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+        <item>
+         <widget class="QLabel" name="lblTorStatusImg" >
+          <property name="pixmap" >
+           <pixmap>:/images/48x48/tor-off.png</pixmap>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QLabel" name="lblTorStatus" >
+          <property name="text" >
+           <string>Tor is not running</string>
+          </property>
+          <property name="wordWrap" >
+           <bool>true</bool>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <spacer>
+          <property name="orientation" >
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeHint" >
+           <size>
+            <width>20</width>
+            <height>0</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+       </layout>
       </item>
       <item>
-       <widget class="QLabel" name="lblTorStatusImg" >
-        <property name="pixmap" >
-         <pixmap>:/images/48x48/tor-off.png</pixmap>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QLabel" name="lblTorStatus" >
-        <property name="text" >
-         <string>Tor is not running</string>
-        </property>
-        <property name="wordWrap" >
-         <bool>true</bool>
-        </property>
-       </widget>
-      </item>
-      <item>
        <spacer>
         <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
+         <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" >
          <size>
-          <width>20</width>
-          <height>0</height>
+          <width>0</width>
+          <height>8</height>
          </size>
         </property>
        </spacer>
@@ -457,7 +480,7 @@
       </property>
       <property name="sizeHint" >
        <size>
-        <width>20</width>
+        <width>0</width>
         <height>0</height>
        </size>
       </property>