Sync scan popup's size policies with main window

Let us use consistent horizontal size policies in scan popup's and main
window's GroupComboBox and TranslateBox. MinimumExpanding in scan
popup's TranslateBox allows it to stretch horizontally along with
horizontalSpacer when the width of popup window increases.
This commit is contained in:
Igor Kushnir 2019-01-28 18:07:30 +02:00
parent 4736191fa5
commit 7a9d97a74f

View file

@ -70,7 +70,7 @@
<item> <item>
<widget class="GroupComboBox" name="groupList"> <widget class="GroupComboBox" name="groupList">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@ -83,7 +83,7 @@
<item> <item>
<widget class="TranslateBox" name="translateBox"> <widget class="TranslateBox" name="translateBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>