Skip to content

Commit

Permalink
Shade qt5.5: remove further obsolete 10px margins/paddings/borders
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 authored and daschuer committed Jul 31, 2018
1 parent 1bc9ccd commit 97ceaca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions res/skins/Shade/looping.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ObjectName>EffectLeftBorder</ObjectName>
<Size>5f,40f</Size>
<BackPath>style/style_bg_deck_border.png</BackPath>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 10px; padding: 0; }</Style>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 0px; padding: 0; }</Style>
</WidgetGroup>

<WidgetGroup>
Expand Down Expand Up @@ -112,7 +112,7 @@
<WidgetGroup>
<Pos>100,10</Pos>
<Size>50f,20f</Size>
<Style>QGroupBox { border: 10px solid red; } QWidget { margin: 0px; padding: 0; }</Style>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 0px; padding: 0; }</Style>
<Layout>horizontal</Layout>
<Children>
<BeatSpinBox>
Expand Down Expand Up @@ -425,7 +425,7 @@
<WidgetGroup>
<Size>50f,20f</Size>
<Pos>21,10</Pos>
<Style>QGroupBox { border: 10px solid red; } QWidget { margin: 0px; padding: 0; }</Style>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 0px; padding: 0; }</Style>
<Layout>horizontal</Layout>
<Children>
<BeatSpinBox>
Expand Down Expand Up @@ -464,13 +464,13 @@
<ObjectName>EffectRightBorder</ObjectName>
<Size>5f,40f</Size>
<BackPath>style/style_bg_deck_border.png</BackPath>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 10px; padding: 0; }</Style>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 0px; padding: 0; }</Style>
</WidgetGroup>

<WidgetGroup>
<ObjectName>EffectRightBorder</ObjectName>
<Size>3f,40f</Size>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 10px; padding: 0; }</Style>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 0px; padding: 0; }</Style>
</WidgetGroup>

</Children>
Expand Down
24 changes: 12 additions & 12 deletions res/skins/Shade/skin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
https://qt-project.org/doc/qt-4.8/stylesheet.html
Debugging:
To outline WidgetGroups change all occurrences (exept this one ;-) of
To outline WidgetGroups change all occurrences (except this one ;-) of
"QGroupBox { border: 0px solid" to "QGroupBox { border: 1px solid"
Parent WidgedGroups are outlined one pixel solid red;
Expand Down Expand Up @@ -253,7 +253,7 @@
<Children>
<WidgetGroup>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 0; padding: 0; }</Style>
<Layout>vertical</Layout>
<Layout>vertical</Layout>
<Children>
<Template src="skin:deck.xml">
<SetVariable name="channum">1</SetVariable>
Expand Down Expand Up @@ -389,13 +389,13 @@
<WidgetGroup>
<SizePolicy>me,min</SizePolicy>
<Layout>horizontal</Layout>
<Style>QGroupBox { border: 0px solid yellow; margin: 1px 0px 6px 0px;} </Style>
<Style>QGroupBox { border: 0px solid yellow; margin: 0px;}</Style>
<Children>
<WidgetGroup>
<ObjectName>EffectLeftBorder</ObjectName>
<Size>3f,44f</Size>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 10px; padding: 0; }</Style>
</WidgetGroup>
<WidgetGroup>
<ObjectName>EffectLeftBorder</ObjectName>
<Size>3f,43f</Size>
<Style>QGroupBox { border: 0px solid red; } QWidget { margin: 0px; padding: 0; }</Style>
</WidgetGroup>
<Template src="skin:looping.xml">
<SetVariable name="channum">1</SetVariable>
</Template>
Expand All @@ -416,9 +416,9 @@
<Not/>
</Transform>
</Connection>
</WidgetGroup>
<Template src="skin:effectrow.xml"/>
<Template src="skin:srcrow.xml"/>
</WidgetGroup>
<Template src="skin:effectrow.xml"/>
<Template src="skin:srcrow.xml"/>
<Template src="skin:samplerrow.xml">
<SetVariable name="rownum">1</SetVariable>
<SetVariable name="samplernum1">1</SetVariable>
Expand All @@ -433,7 +433,7 @@
<SetVariable name="samplernum2">4</SetVariable>
<SetVariable name="samplernum3">7</SetVariable>
<SetVariable name="samplernum4">8</SetVariable>
</Template>
</Template>
<!--
**********************************************
Library / Preview Deck / Search / Tree view
Expand Down

0 comments on commit 97ceaca

Please sign in to comment.