querydialog.ui: Allow smaller dialog size

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.
This commit is contained in:
Xavier Del Campo Romero 2023-12-15 01:20:45 +01:00
parent b2fac23783
commit 867dc83c76
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 12 additions and 0 deletions

View File

@ -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>