[partition] UI-tweak mount-point and fs-label boxes

- make the boxes expand, rather than stick to a minimum
  size that doesn't align with other boxes in the dialog,
  and which may be too small to contain the text they display.
This commit is contained in:
Adriaan de Groot 2022-02-01 13:13:29 +01:00
parent 6f738813a6
commit d8c875f351
2 changed files with 14 additions and 14 deletions

View File

@ -68,7 +68,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<item>
<widget class="QRadioButton" name="primaryRadioButton">
<property name="text">
<string>&amp;Primary</string>
<string>Primar&amp;y</string>
</property>
<property name="checked">
<bool>true</bool>
@ -171,6 +171,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
</item>
<item row="8" column="1">
<widget class="QComboBox" name="mountPointComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable">
<bool>true</bool>
</property>
@ -221,12 +227,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
</item>
<item row="9" column="1">
<widget class="QLineEdit" name="filesystemLabelEdit">
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Label for the filesystem</string>
</property>

View File

@ -51,7 +51,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Content:</string>
<string>Con&amp;tent:</string>
</property>
<property name="buddy">
<cstring>keepRadioButton</cstring>
@ -109,6 +109,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
</item>
<item row="6" column="1">
<widget class="QComboBox" name="mountPointComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable">
<bool>true</bool>
</property>
@ -176,12 +182,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
</item>
<item row="7" column="1">
<widget class="QLineEdit" name="fileSystemLabelEdit">
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Label for the filesystem</string>
</property>