Set color widget minimal size to avoid they shrink while resizing dialog

This commit is contained in:
Harrissou Sant-anna 2021-07-17 13:53:31 +02:00 committed by Nyall Dawson
parent ac2b746f16
commit a8196f5fb8
2 changed files with 20 additions and 1 deletions

View File

@ -89,6 +89,12 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
@ -323,6 +329,12 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string/>
</property>

View File

@ -27,7 +27,14 @@
<number>0</number>
</property>
<item row="5" column="1">
<widget class="QgsColorButton" name="mColorWidget"/>
<widget class="QgsColorButton" name="mColorWidget">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="mColoringMethodComboBox"/>