Wizard: Increase the size
authorOlivier Goffart <ogoffart@woboq.com>
Wed, 25 Jan 2017 19:22:54 +0000 (20:22 +0100)
committerMarkus Goetz <markus@woboq.com>
Fri, 27 Jan 2017 14:59:59 +0000 (15:59 +0100)
The advanced page has become quite complex and does not fit on the screen
anymore if the fonts are too big

src/gui/wizard/owncloudadvancedsetuppage.ui
src/gui/wizard/owncloudsetupnocredspage.ui
src/gui/wizard/owncloudwizard.cpp
src/libsync/theme.cpp

index bd3aa2c30a4dfcf3510c0f1cf124bd17b3c55155..ccf891d967b8adc56d544d8b41edbc9177e1e4c6 100644 (file)
@@ -6,12 +6,12 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>1099</width>
-    <height>636</height>
+    <width>912</width>
+    <height>633</height>
    </rect>
   </property>
   <property name="sizePolicy">
-   <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+   <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
      <item row="0" column="1" colspan="2">
       <widget class="QWidget" name="widget" native="true">
        <layout class="QVBoxLayout" name="verticalLayout">
+        <property name="leftMargin">
+         <number>0</number>
+        </property>
+        <property name="rightMargin">
+         <number>0</number>
+        </property>
         <item>
          <layout class="QHBoxLayout" name="horizontalLayout_2">
           <item>
         </item>
         <item>
          <layout class="QGridLayout" name="gridLayout_2">
+          <property name="horizontalSpacing">
+           <number>0</number>
+          </property>
           <item row="0" column="0">
            <spacer name="horizontalSpacer_4">
             <property name="orientation">
             </property>
             <property name="sizeHint" stdset="0">
              <size>
-              <width>40</width>
+              <width>10</width>
               <height>20</height>
              </size>
             </property>
             <item>
              <widget class="QSpinBox" name="confSpinBox">
               <property name="maximum">
-               <number>1000000000</number>
+               <number>999999</number>
               </property>
               <property name="value">
-               <number>500</number>
+               <number>99</number>
               </property>
              </widget>
             </item>
index b3ef7ab4878ffb1719730a6cb411912654a9f31b..cbeeb5246fdee23b5c703b6dc204576db172b048 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>602</width>
-    <height>193</height>
+    <width>506</width>
+    <height>515</height>
    </rect>
   </property>
   <property name="sizePolicy">
@@ -80,7 +80,7 @@
          <item>
           <widget class="QLabel" name="label_2">
            <property name="text">
-            <string>Server &amp;Address</string>
+            <string>Ser&amp;ver Address</string>
            </property>
            <property name="buddy">
             <cstring>leUrl</cstring>
      <property name="orientation">
       <enum>Qt::Vertical</enum>
      </property>
+     <property name="sizeType">
+      <enum>QSizePolicy::MinimumExpanding</enum>
+     </property>
      <property name="sizeHint" stdset="0">
       <size>
        <width>20</width>
-       <height>40</height>
+       <height>200</height>
       </size>
      </property>
     </spacer>
index edd0479a006343a27b1d51a21ded5183d5091fdb..887b6715d0254416e281fa2dbfaab010ccc894ea 100644 (file)
@@ -86,7 +86,6 @@ OwncloudWizard::OwncloudWizard(QWidget *parent)
     setTitleFormat(Qt::RichText);
     setSubTitleFormat(Qt::RichText);
     setButtonText(QWizard::CustomButton1, tr("Skip folders configuration"));
-
 }
 
 void OwncloudWizard::setAccount(AccountPtr account)
index 54612b545e63e18cb15e35d1e32a11940847a3f0..be6f614894376bfa804db58afb53b37870af3837 100644 (file)
@@ -421,7 +421,7 @@ QPixmap Theme::wizardHeaderBanner() const
     if (!c.isValid())
         return QPixmap();
 
-    QPixmap pix(QSize(600, 78));
+    QPixmap pix(QSize(750, 78));
     pix.fill(wizardHeaderBackgroundColor());
     return pix;
 }