Browse Source

Fix network widget spacer issue on Windows.

Adam Ierymenko 11 years ago
parent
commit
e11149bcae
1 changed files with 33 additions and 20 deletions
  1. 33 20
      ZeroTierUI/networkwidget.ui

+ 33 - 20
ZeroTierUI/networkwidget.ui

@@ -265,49 +265,49 @@
            </property>
            </property>
           </widget>
           </widget>
          </item>
          </item>
-         <item row="4" column="0">
-          <widget class="QLabel" name="label_4">
+         <item row="3" column="1">
+          <widget class="QLabel" name="statusLabel">
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
            <property name="font">
            <property name="font">
             <font>
             <font>
              <pointsize>12</pointsize>
              <pointsize>12</pointsize>
+             <weight>75</weight>
+             <bold>true</bold>
             </font>
             </font>
            </property>
            </property>
+           <property name="statusTip">
+            <string>Status of this network.</string>
+           </property>
            <property name="text">
            <property name="text">
-            <string>Device:</string>
+            <string>?</string>
            </property>
            </property>
            <property name="textFormat">
            <property name="textFormat">
             <enum>Qt::PlainText</enum>
             <enum>Qt::PlainText</enum>
            </property>
            </property>
           </widget>
           </widget>
          </item>
          </item>
-         <item row="4" column="1">
-          <widget class="QLabel" name="deviceLabel">
-           <property name="sizePolicy">
-            <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
-             <horstretch>0</horstretch>
-             <verstretch>0</verstretch>
-            </sizepolicy>
-           </property>
+         <item row="4" column="0">
+          <widget class="QLabel" name="label_4">
            <property name="font">
            <property name="font">
             <font>
             <font>
              <pointsize>12</pointsize>
              <pointsize>12</pointsize>
-             <weight>75</weight>
-             <bold>true</bold>
             </font>
             </font>
            </property>
            </property>
-           <property name="statusTip">
-            <string>The name of the network device on your system.</string>
-           </property>
            <property name="text">
            <property name="text">
-            <string>?</string>
+            <string>Device:</string>
            </property>
            </property>
            <property name="textFormat">
            <property name="textFormat">
             <enum>Qt::PlainText</enum>
             <enum>Qt::PlainText</enum>
            </property>
            </property>
           </widget>
           </widget>
          </item>
          </item>
-         <item row="3" column="1">
-          <widget class="QLabel" name="statusLabel">
+         <item row="4" column="1">
+          <widget class="QLabel" name="deviceLabel">
            <property name="sizePolicy">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
             <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <horstretch>0</horstretch>
@@ -322,7 +322,7 @@
             </font>
             </font>
            </property>
            </property>
            <property name="statusTip">
            <property name="statusTip">
-            <string>Status of this network.</string>
+            <string>The name of the network device on your system.</string>
            </property>
            </property>
            <property name="text">
            <property name="text">
             <string>?</string>
             <string>?</string>
@@ -335,6 +335,19 @@
         </layout>
         </layout>
        </widget>
        </widget>
       </item>
       </item>
+      <item>
+       <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>
      </layout>
      </layout>
     </widget>
     </widget>
    </item>
    </item>