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