Skip to content

Commit

Permalink
fix mixer cut-off & knob label cut-off
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Jan 26, 2017
1 parent 787b70e commit 2658161
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 34 deletions.
4 changes: 4 additions & 0 deletions res/skins/Deere/deck_mixer_controls_col1_left.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,9 @@
</Template>

</Children>
<Connection>
<ConfigKey>[Master],show_eqs</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
</Template>
4 changes: 4 additions & 0 deletions res/skins/Deere/deck_mixer_controls_col1_right.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,9 @@
</Template>

</Children>
<Connection>
<ConfigKey>[Master],show_eqs</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
</Template>
22 changes: 5 additions & 17 deletions res/skins/Deere/left_deck_mixer_controls.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@
<!-- In 2 deck mode, we show a 3-column mixer section -->
<WidgetGroup>
<Layout>horizontal</Layout>
<SizePolicy>min,min</SizePolicy>
<Children>
<Template src="skin:deck_mixer_controls_col1_left.xml"/>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:deck_mixer_controls_col1_left.xml"/>
<Template src="skin:deck_mixer_controls_col2.xml"/>
<Template src="skin:deck_mixer_controls_col3.xml"/>
</Children>
<Connection>
<ConfigKey>[Master],show_eqs</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
<Template src="skin:deck_mixer_controls_col2.xml"/>
<Template src="skin:deck_mixer_controls_col3.xml"/>
</Children>
<Connection>
<ConfigKey>[Master],show_4decks</ConfigKey>
Expand All @@ -41,16 +38,7 @@
<WidgetGroup>
<Layout>vertical</Layout>
<Children>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:deck_mixer_controls_col1_left.xml"/>
</Children>
<Connection>
<ConfigKey>[Master],show_eqs</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
<Template src="skin:deck_mixer_controls_col1_left.xml"/>
<WidgetGroup>
<Layout>vertical</Layout>
<ObjectName>4DecksMixerCol2ContainerLeft</ObjectName>
Expand Down
21 changes: 4 additions & 17 deletions res/skins/Deere/right_deck_mixer_controls.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,14 @@
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:deck_mixer_controls_col3.xml"/>
<Template src="skin:deck_mixer_controls_col2.xml"/>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:deck_mixer_controls_col1_right.xml"/>
<Template src="skin:deck_mixer_controls_col3.xml"/>
<Template src="skin:deck_mixer_controls_col2.xml"/>
</Children>
<Connection>
<ConfigKey>[Master],show_eqs</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
<Template src="skin:deck_mixer_controls_col1_right.xml"/>
</Children>
<Connection>
<ConfigKey>[Master],show_4decks</ConfigKey>
Expand All @@ -41,16 +37,7 @@
<WidgetGroup>
<Layout>vertical</Layout>
<Children>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:deck_mixer_controls_col1_right.xml"/>
</Children>
<Connection>
<ConfigKey>[Master],show_eqs</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
<Template src="skin:deck_mixer_controls_col1_right.xml"/>
<WidgetGroup>
<Layout>vertical</Layout>
<ObjectName>4DecksMixerCol2ContainerRight</ObjectName>
Expand Down
1 change: 1 addition & 0 deletions res/skins/Deere/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,7 @@ WWidget, QLabel {
border: none;
qproperty-alignment: 'AlignHCenter';
font: 10px;
margin-top: -2px;
}

#SmallKnobLabel {
Expand Down

0 comments on commit 2658161

Please sign in to comment.