aboutsummaryrefslogtreecommitdiff
path: root/src/qt/forms
diff options
context:
space:
mode:
authorThomas Zander <thomas@thomaszander.se>2014-12-29 00:25:18 +0100
committerThomas Zander <thomas@thomaszander.se>2015-01-05 21:17:45 +0100
commite179eb3d9bfec7e67908242c71c87b716a41c97c (patch)
treed6ddc1348c12f009559ab104fddfad134b05c62e /src/qt/forms
parente5153095ea410dd07770c0327447856488bfd137 (diff)
Make the command-line-args dialog better
Instead of using a fixed-width font in a label, which virtually guarentees a horizontal scrollbar, use a proper text-document that can re-layout based on user input.
Diffstat (limited to 'src/qt/forms')
-rw-r--r--src/qt/forms/helpmessagedialog.ui20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/qt/forms/helpmessagedialog.ui b/src/qt/forms/helpmessagedialog.ui
index 81dbd90b12..9ace9afd79 100644
--- a/src/qt/forms/helpmessagedialog.ui
+++ b/src/qt/forms/helpmessagedialog.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>800</width>
- <height>400</height>
+ <width>585</width>
+ <height>225</height>
</rect>
</property>
<property name="font">
@@ -35,6 +35,13 @@
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
+ <widget class="QTextEdit" name="helpMessage">
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="QScrollArea" name="scrollArea">
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOn</enum>
@@ -47,19 +54,22 @@
<rect>
<x>0</x>
<y>0</y>
- <width>659</width>
- <height>348</height>
+ <width>447</width>
+ <height>68</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
- <widget class="QLabel" name="helpMessageLabel">
+ <widget class="QLabel" name="aboutMessage">
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+ </property>
<property name="openExternalLinks">
<bool>true</bool>
</property>