mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
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:
parent
4736191fa5
commit
7a9d97a74f
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue