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

[vidalia-svn] r3128: Tweak the resize behavior of the control password input dial (vidalia/trunk/src/vidalia)



Author: edmanm
Date: 2008-09-21 18:33:16 -0400 (Sun, 21 Sep 2008)
New Revision: 3128

Modified:
   vidalia/trunk/src/vidalia/controlpasswordinputdialog.ui
Log:
Tweak the resize behavior of the control password input dialog a bit.


Modified: vidalia/trunk/src/vidalia/controlpasswordinputdialog.ui
===================================================================
--- vidalia/trunk/src/vidalia/controlpasswordinputdialog.ui	2008-09-21 22:09:00 UTC (rev 3127)
+++ vidalia/trunk/src/vidalia/controlpasswordinputdialog.ui	2008-09-21 22:33:16 UTC (rev 3128)
@@ -8,8 +8,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>420</width>
-    <height>201</height>
+    <width>385</width>
+    <height>205</height>
    </rect>
   </property>
   <property name="sizePolicy" >
@@ -20,8 +20,8 @@
   </property>
   <property name="minimumSize" >
    <size>
-    <width>410</width>
-    <height>189</height>
+    <width>0</width>
+    <height>0</height>
    </size>
   </property>
   <property name="windowTitle" >
@@ -37,92 +37,90 @@
   <property name="modal" >
    <bool>true</bool>
   </property>
-  <widget class="QWidget" name="gridLayoutWidget" >
-   <property name="geometry" >
-    <rect>
-     <x>19</x>
-     <y>19</y>
-     <width>381</width>
-     <height>161</height>
-    </rect>
-   </property>
-   <layout class="QGridLayout" name="gridLayout" >
-    <item row="0" column="0" >
-     <widget class="QLabel" name="lblIcon" >
-      <property name="text" >
-       <string/>
-      </property>
-      <property name="pixmap" >
-       <pixmap resource="res/vidalia.qrc" >:/images/48x48/dialog-password.png</pixmap>
-      </property>
-     </widget>
-    </item>
-    <item row="0" column="1" >
-     <widget class="QLabel" name="lblPrompt" >
-      <property name="sizePolicy" >
-       <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
-        <horstretch>1</horstretch>
-        <verstretch>1</verstretch>
-       </sizepolicy>
-      </property>
-      <property name="text" >
-       <string>Vidalia has connected to a running Tor process that requires a password. Please enter your control password: </string>
-      </property>
-      <property name="textFormat" >
-       <enum>Qt::PlainText</enum>
-      </property>
-      <property name="scaledContents" >
-       <bool>true</bool>
-      </property>
-      <property name="alignment" >
-       <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
-      </property>
-      <property name="wordWrap" >
-       <bool>true</bool>
-      </property>
-     </widget>
-    </item>
-    <item row="1" column="0" >
-     <spacer name="verticalSpacer" >
-      <property name="orientation" >
-       <enum>Qt::Vertical</enum>
-      </property>
-      <property name="sizeHint" stdset="0" >
-       <size>
-        <width>20</width>
-        <height>40</height>
-       </size>
-      </property>
-     </spacer>
-    </item>
-    <item row="1" column="1" >
-     <widget class="QLineEdit" name="linePassword" >
-      <property name="echoMode" >
-       <enum>QLineEdit::Password</enum>
-      </property>
-     </widget>
-    </item>
-    <item row="2" column="1" >
-     <widget class="QCheckBox" name="chkSavePassword" >
-      <property name="text" >
-       <string>Remember my password</string>
-      </property>
-     </widget>
-    </item>
-    <item row="3" column="0" colspan="2" >
-     <widget class="QDialogButtonBox" name="buttonBox" >
-      <property name="orientation" >
-       <enum>Qt::Horizontal</enum>
-      </property>
-      <property name="standardButtons" >
-       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
-      </property>
-     </widget>
-    </item>
-   </layout>
-  </widget>
+  <layout class="QGridLayout" name="gridLayout_2" >
+   <item row="0" column="0" >
+    <layout class="QGridLayout" name="gridLayout" >
+     <property name="sizeConstraint" >
+      <enum>QLayout::SetNoConstraint</enum>
+     </property>
+     <item row="0" column="0" >
+      <widget class="QLabel" name="lblIcon" >
+       <property name="text" >
+        <string/>
+       </property>
+       <property name="pixmap" >
+        <pixmap resource="res/vidalia.qrc" >:/images/48x48/dialog-password.png</pixmap>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1" >
+      <widget class="QLabel" name="lblPrompt" >
+       <property name="sizePolicy" >
+        <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
+         <horstretch>1</horstretch>
+         <verstretch>1</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="text" >
+        <string>Vidalia has connected to a running Tor process that requires a password. Please enter your control password: </string>
+       </property>
+       <property name="textFormat" >
+        <enum>Qt::PlainText</enum>
+       </property>
+       <property name="scaledContents" >
+        <bool>true</bool>
+       </property>
+       <property name="alignment" >
+        <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+       </property>
+       <property name="wordWrap" >
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="0" >
+      <spacer name="verticalSpacer" >
+       <property name="orientation" >
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="sizeHint" stdset="0" >
+        <size>
+         <width>20</width>
+         <height>40</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item row="1" column="1" >
+      <widget class="QLineEdit" name="linePassword" >
+       <property name="echoMode" >
+        <enum>QLineEdit::Password</enum>
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="1" >
+      <widget class="QCheckBox" name="chkSavePassword" >
+       <property name="text" >
+        <string>Remember my password</string>
+       </property>
+      </widget>
+     </item>
+     <item row="3" column="0" colspan="2" >
+      <widget class="QDialogButtonBox" name="buttonBox" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="standardButtons" >
+        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
  </widget>
  <resources>
   <include location="res/vidalia.qrc" />
  </resources>
+ <connections/>
 </ui>