Remove any hardcoding of spaces to 6 and margins to 9/11 in Krita's UI

REVIEW: 109897

thanks boud for review
parent 8a013214
...@@ -161,7 +161,6 @@ ...@@ -161,7 +161,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>
...@@ -147,7 +147,6 @@ colors (Pantone, TruMatch, logo colors, ...)</string> ...@@ -147,7 +147,6 @@ colors (Pantone, TruMatch, logo colors, ...)</string>
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KisColorSpaceSelector</class> <class>KisColorSpaceSelector</class>
......
...@@ -264,7 +264,6 @@ ...@@ -264,7 +264,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>
...@@ -326,7 +326,6 @@ ...@@ -326,7 +326,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KisCompositeOpComboBox</class> <class>KisCompositeOpComboBox</class>
......
...@@ -182,7 +182,6 @@ ...@@ -182,7 +182,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KColorButton</class> <class>KColorButton</class>
......
...@@ -172,7 +172,6 @@ ...@@ -172,7 +172,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<pixmapfunction></pixmapfunction> <pixmapfunction></pixmapfunction>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
......
...@@ -507,7 +507,6 @@ ...@@ -507,7 +507,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KoAspectButton</class> <class>KoAspectButton</class>
......
...@@ -286,7 +286,6 @@ ...@@ -286,7 +286,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KIntNumInput</class> <class>KIntNumInput</class>
......
...@@ -175,7 +175,6 @@ ...@@ -175,7 +175,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<pixmapfunction></pixmapfunction> <pixmapfunction></pixmapfunction>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
......
...@@ -100,7 +100,6 @@ ...@@ -100,7 +100,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KIntSpinBox</class> <class>KIntSpinBox</class>
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<tabstops> <tabstops>
<tabstop>radiusSpinBox</tabstop> <tabstop>radiusSpinBox</tabstop>
</tabstops> </tabstops>
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops> <tabstops>
<tabstop>radiusSpinBox</tabstop> <tabstop>radiusSpinBox</tabstop>
</tabstops> </tabstops>
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops> <tabstops>
<tabstop>radiusSpinBox</tabstop> <tabstop>radiusSpinBox</tabstop>
</tabstops> </tabstops>
......
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<tabstops> <tabstops>
<tabstop>radiusSpinBox</tabstop> <tabstop>radiusSpinBox</tabstop>
</tabstops> </tabstops>
......
...@@ -93,7 +93,6 @@ ...@@ -93,7 +93,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>
...@@ -198,7 +198,6 @@ ...@@ -198,7 +198,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<pixmapfunction></pixmapfunction> <pixmapfunction></pixmapfunction>
<customwidgets> <customwidgets>
</customwidgets> </customwidgets>
......
...@@ -154,7 +154,6 @@ ...@@ -154,7 +154,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops> <tabstops>
<tabstop>radioCurrentLayer</tabstop> <tabstop>radioCurrentLayer</tabstop>
<tabstop>radioLayers</tabstop> <tabstop>radioLayers</tabstop>
......
...@@ -62,7 +62,6 @@ ...@@ -62,7 +62,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KIntNumInput</class> <class>KIntNumInput</class>
......
...@@ -70,7 +70,6 @@ ...@@ -70,7 +70,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KIntNumInput</class> <class>KIntNumInput</class>
......
...@@ -120,7 +120,6 @@ ...@@ -120,7 +120,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KIntNumInput</class> <class>KIntNumInput</class>
......
...@@ -104,7 +104,6 @@ ...@@ -104,7 +104,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KIntNumInput</class> <class>KIntNumInput</class>
......
...@@ -169,7 +169,6 @@ ...@@ -169,7 +169,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KComboBox</class> <class>KComboBox</class>
......
...@@ -100,7 +100,6 @@ ...@@ -100,7 +100,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KColorButton</class> <class>KColorButton</class>
......
...@@ -27,17 +27,11 @@ ...@@ -27,17 +27,11 @@
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" colspan="2" > <item row="0" column="0" colspan="2" >
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="1" > <item row="1" column="1" >
<widget class="QLabel" name="hgradient" > <widget class="QLabel" name="hgradient" >
<property name="sizePolicy" > <property name="sizePolicy" >
...@@ -103,9 +97,6 @@ ...@@ -103,9 +97,6 @@
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item> <item>
<widget class="KisCurveWidget" name="curveWidget" > <widget class="KisCurveWidget" name="curveWidget" >
<property name="minimumSize" > <property name="minimumSize" >
...@@ -165,9 +156,6 @@ ...@@ -165,9 +156,6 @@
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="2" > <item row="1" column="2" >
<widget class="QPushButton" name="pb_more_contrast" > <widget class="QPushButton" name="pb_more_contrast" >
<property name="text" > <property name="text" >
...@@ -248,7 +236,6 @@ ...@@ -248,7 +236,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<pixmapfunction></pixmapfunction> <pixmapfunction></pixmapfunction>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
......
...@@ -22,9 +22,6 @@ ...@@ -22,9 +22,6 @@
</property> </property>
<item> <item>
<layout class="QHBoxLayout"> <layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
...@@ -213,9 +210,6 @@ ...@@ -213,9 +210,6 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="labelIn"> <widget class="QLabel" name="labelIn">
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -295,7 +289,6 @@ ...@@ -295,7 +289,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KisCurveWidget</class> <class>KisCurveWidget</class>
......
...@@ -92,7 +92,6 @@ ...@@ -92,7 +92,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>
...@@ -13,17 +13,11 @@ ...@@ -13,17 +13,11 @@
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item> <item>
<widget class="QLabel" name="label1" > <widget class="QLabel" name="label1" >
<property name="text" > <property name="text" >
...@@ -61,7 +55,6 @@ ...@@ -61,7 +55,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KUrlRequester</class> <class>KUrlRequester</class>
......
...@@ -260,7 +260,6 @@ ...@@ -260,7 +260,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KisGradientSlider</class> <class>KisGradientSlider</class>
......
...@@ -13,9 +13,6 @@ ...@@ -13,9 +13,6 @@
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="textLabel2" > <widget class="QLabel" name="textLabel2" >
<property name="text" > <property name="text" >
...@@ -76,7 +73,6 @@ ...@@ -76,7 +73,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<customwidgets> <customwidgets>
</customwidgets> </customwidgets>
<resources/> <resources/>
......
...@@ -13,9 +13,6 @@ ...@@ -13,9 +13,6 @@
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="textLabel1" > <widget class="QLabel" name="textLabel1" >
<property name="text" > <property name="text" >
...@@ -89,7 +86,6 @@ ...@@ -89,7 +86,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<customwidgets> <customwidgets>
</customwidgets> </customwidgets>
<resources/> <resources/>
......
...@@ -135,7 +135,6 @@ ...@@ -135,7 +135,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>
...@@ -13,9 +13,6 @@ ...@@ -13,9 +13,6 @@
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="1" > <item row="0" column="1" >
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
...@@ -57,9 +54,6 @@ ...@@ -57,9 +54,6 @@
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" colspan="2" > <item row="0" column="0" colspan="2" >
<widget class="QLabel" name="textLabel1" > <widget class="QLabel" name="textLabel1" >
<property name="text" > <property name="text" >
...@@ -135,9 +129,6 @@ ...@@ -135,9 +129,6 @@
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" colspan="2" > <item row="0" column="0" colspan="2" >
<widget class="QLabel" name="textLabel1_3" > <widget class="QLabel" name="textLabel1_3" >
<property name="text" > <property name="text" >
...@@ -206,7 +197,6 @@ ...@@ -206,7 +197,6 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<layoutdefault spacing="6" margin="11" />
<customwidgets> <customwidgets>
<customwidget> <customwidget>
<class>KComboBox</class> <class>KComboBox</class>
......
...@@ -20,12 +20,6 @@ ...@@ -20,12 +20,6 @@
<string>Pages</string> <string>Pages</string>
</property> </property>