[Pkg-owncloud-commits] [owncloud-client] 17/89: Resize wizard if advanced options are required
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Dec 14 01:02:29 UTC 2013
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit df5a72eb38a2beaa6641fdd0bee0014b42db299b
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Thu Dec 5 17:43:48 2013 +0100
Resize wizard if advanced options are required
Fixes #1130
---
src/wizard/owncloudadvancedsetuppage.cpp | 1 +
src/wizard/owncloudadvancedsetuppage.ui | 24 +-----------------------
2 files changed, 2 insertions(+), 23 deletions(-)
diff --git a/src/wizard/owncloudadvancedsetuppage.cpp b/src/wizard/owncloudadvancedsetuppage.cpp
index 461f3cc..a4e49ed 100644
--- a/src/wizard/owncloudadvancedsetuppage.cpp
+++ b/src/wizard/owncloudadvancedsetuppage.cpp
@@ -131,6 +131,7 @@ void OwncloudAdvancedSetupPage::updateStatus()
_ui.syncModeLabel->setText(t);
_ui.syncModeLabel->setFixedHeight(_ui.syncModeLabel->sizeHint().height());
+ wizard()->resize(wizard()->sizeHint());
}
bool OwncloudAdvancedSetupPage::dataChanged()
diff --git a/src/wizard/owncloudadvancedsetuppage.ui b/src/wizard/owncloudadvancedsetuppage.ui
index 506fae2..c5a4eed 100644
--- a/src/wizard/owncloudadvancedsetuppage.ui
+++ b/src/wizard/owncloudadvancedsetuppage.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>484</width>
- <height>342</height>
+ <height>336</height>
</rect>
</property>
<property name="sizePolicy">
@@ -57,12 +57,6 @@
</item>
<item>
<layout class="QFormLayout" name="advancedBox">
- <property name="sizeConstraint">
- <enum>QLayout::SetMinimumSize</enum>
- </property>
- <property name="fieldGrowthPolicy">
- <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
- </property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="sizePolicy">
@@ -225,22 +219,6 @@
</widget>
</item>
<item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
<widget class="QLabel" name="syncModeLabel">
<property name="text">
<string>Status message</string>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list