Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #5371 from DelazJ/colorspace
Optimize spacing in Color settings dialog
  • Loading branch information
nyalldawson committed Oct 19, 2017
2 parents bb522b3 + 432ef1a commit 34e3056
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions src/ui/qgscompoundcolorwidget.ui
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>620</width>
<height>402</height>
<width>597</width>
<height>329</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
Expand Down Expand Up @@ -256,7 +256,7 @@
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
<height>0</height>
</size>
</property>
</spacer>
Expand Down Expand Up @@ -430,7 +430,7 @@
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
<height>0</height>
</size>
</property>
</spacer>
Expand All @@ -440,6 +440,18 @@
</item>
<item row="1" column="0">
<widget class="QWidget" name="mPreviewWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout" columnstretch="0,1,0">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
Expand All @@ -464,7 +476,7 @@
<item row="0" column="2" rowspan="2">
<widget class="QPushButton" name="mAddCustomColorButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
Expand Down Expand Up @@ -535,6 +547,12 @@
</item>
<item row="1" column="1">
<widget class="QWidget" name="mSwatchesWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="spacing">
<number>1</number>
Expand Down

0 comments on commit 34e3056

Please sign in to comment.