aboutsummaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-12-15 01:20:45 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-12-15 01:20:45 +0100
commit867dc83c76d2707041d99e630f5c753780984c16 (patch)
tree93fd74c8d7b817021e4e80eaf75f4e0f9a438363 /src/widgets
parentb2fac23783a99519469961e64a51656c76b8ed50 (diff)
downloadkristall-querydialog-wrap.tar.gz
querydialog.ui: Allow smaller dialog sizequerydialog-wrap
As the query label is determined by the remote server, it can be arbitrarily long. Therefore, it makes sense to enable word wrap so the dialog still fits on devices with smaller screens, such as mobile phones.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/querydialog.ui12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/widgets/querydialog.ui b/src/widgets/querydialog.ui
index 001c29d..485a161 100644
--- a/src/widgets/querydialog.ui
+++ b/src/widgets/querydialog.ui
@@ -10,15 +10,27 @@
<height>240</height>
</rect>
</property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="windowTitle">
<string>Dialog</string>
</property>
+ <property name="sizeGripEnabled">
+ <bool>true</bool>
+ </property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="query">
<property name="text">
<string/>
</property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item>