mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +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>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue