aboutsummaryrefslogtreecommitdiff
path: root/src/qt/forms
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-11-20 12:28:34 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-11-20 12:28:34 +0100
commite0a25c54ebecf09771d017ccb29c6777192de876 (patch)
tree01c876c98bfb03328c30505911282fbcaa1f6722 /src/qt/forms
parentb5d1b1092998bc95313856d535c632ea5a8f9104 (diff)
downloadbitcoin-e0a25c54ebecf09771d017ccb29c6777192de876.tar.xz
qt: Make askpassphrase dialog behave more sanely
Set minimum sizes appropriately, and make sure that they are enforced. Replaces #5226.
Diffstat (limited to 'src/qt/forms')
-rw-r--r--src/qt/forms/askpassphrasedialog.ui11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/qt/forms/askpassphrasedialog.ui b/src/qt/forms/askpassphrasedialog.ui
index bc4921455f..a2105ecd0a 100644
--- a/src/qt/forms/askpassphrasedialog.ui
+++ b/src/qt/forms/askpassphrasedialog.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>598</width>
- <height>198</height>
+ <height>222</height>
</rect>
</property>
<property name="sizePolicy">
@@ -26,8 +26,14 @@
<string>Passphrase Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetMinimumSize</enum>
+ </property>
<item>
<widget class="QLabel" name="warningLabel">
+ <property name="text">
+ <string notr="true">Placeholder text</string>
+ </property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
@@ -38,6 +44,9 @@
</item>
<item>
<layout class="QFormLayout" name="formLayout">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetMinimumSize</enum>
+ </property>
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>