Add horizontal and vertical spacers to Custom Colors and
Use Sender Coloring on Chat View Colors settings page. Adjust the
grid layout to maintain similar spacing as prior.
This keeps it from stretching across the entire screen when the
settings dialog is very wide (e.g. maximized).
Resolves GH-185.
<x>0</x>
<y>0</y>
<width>486</width>
<x>0</x>
<y>0</y>
<width>486</width>
</rect>
</property>
<property name="windowTitle">
</rect>
</property>
<property name="windowTitle">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
+ <property name="spacing">
+ <number>12</number>
+ </property>
<item row="0" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<item row="0" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Preferred</enum>
+ </property>
<property name="sizeHint" stdset="0">
<size>
<property name="sizeHint" stdset="0">
<size>
<height>20</height>
</size>
</property>
<height>20</height>
</size>
</property>
</property>
</widget>
</item>
</property>
</widget>
</item>
+ <item row="0" column="5">
+ <spacer name="horizontalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>1</width>
+ <height>1</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout_3">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout_3">
+ <property name="horizontalSpacing">
+ <number>30</number>
+ </property>
+ <property name="verticalSpacing">
+ <number>12</number>
+ </property>
<item row="0" column="0">
<widget class="ColorButton" name="senderColor00">
<property name="text">
<item row="0" column="0">
<widget class="ColorButton" name="senderColor00">
<property name="text">
</property>
</widget>
</item>
</property>
</widget>
</item>
+ <item row="0" column="8">
+ <spacer name="horizontalSpacer_5">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ </spacer>
+ </item>