summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Angelaccio <elvis.angelaccio@kde.org>2016-11-27 14:01:22 (GMT)
committerElvis Angelaccio <elvis.angelaccio@kde.org>2016-11-27 14:01:22 (GMT)
commit3d9e4dcd4832fe80ec6432ed9202efb5a6f0c239 (patch)
treef60f182843002b4d478987bfe54f78bc02b0c948
parent660076c4c297a6bd1c12612b524d6168ae8dc09e (diff)
Fix sizeAdjustPolicy on the combobox with the encryption methods
We need it set to AdjustToContents instead of the default AdjustToContentsOnFirstShow. Otherwise `ZipCrypto` might get cropped (since the first content shows is `AESXXX`).
-rw-r--r--kerfuffle/compressionoptionswidget.ui17
1 files changed, 10 insertions, 7 deletions
diff --git a/kerfuffle/compressionoptionswidget.ui b/kerfuffle/compressionoptionswidget.ui
index d9eea91..6bb3d90 100644
--- a/kerfuffle/compressionoptionswidget.ui
+++ b/kerfuffle/compressionoptionswidget.ui
@@ -136,6 +136,9 @@
<property name="enabled">
<bool>false</bool>
</property>
+ <property name="sizeAdjustPolicy">
+ <enum>QComboBox::AdjustToContents</enum>
+ </property>
</widget>
</item>
<item row="2" column="0" colspan="2">
@@ -245,10 +248,9 @@
</widget>
<customwidgets>
<customwidget>
- <class>KCollapsibleGroupBox</class>
- <extends>QWidget</extends>
- <header>kcollapsiblegroupbox.h</header>
- <container>1</container>
+ <class>KMessageWidget</class>
+ <extends>QFrame</extends>
+ <header>kmessagewidget.h</header>
</customwidget>
<customwidget>
<class>KNewPasswordWidget</class>
@@ -257,9 +259,10 @@
<container>1</container>
</customwidget>
<customwidget>
- <class>KMessageWidget</class>
- <extends>QFrame</extends>
- <header>kmessagewidget.h</header>
+ <class>KCollapsibleGroupBox</class>
+ <extends>QWidget</extends>
+ <header>kcollapsiblegroupbox.h</header>
+ <container>1</container>
</customwidget>
</customwidgets>
<resources/>