Skip to content

Commit

Permalink
Deere - enlarge effect parameter link buttons, fix link invert border (
Browse files Browse the repository at this point in the history
…#3469)

enlarge effect parameter link buttons to 6px height to make them more accessible.
added style.qss with modified border colors for effect parameter invert buttons.
  • Loading branch information
ronso0 authored Jan 10, 2021
2 parents 39465ac + 220c621 commit e79f227
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions res/skins/Deere/effect_parameter_knob.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
<WidgetGroup>
<ObjectName>EffectSlotParameterLinkButtonsContainer</ObjectName>
<Layout>horizontal</Layout>
<Size>-1,6f</Size>
<Size>-1,8f</Size>
<Children>
<Template src="skin:left_2state_button.xml">
<!-- Button has no text/images, qss only -->
<SetVariable name="TooltipId">EffectSlot_parameter_inversion</SetVariable>
<SetVariable name="ObjectName">EffectSlotParameterLinkInversionButton</SetVariable>
<SetVariable name="MinimumSize">6,4</SetVariable>
<SetVariable name="MaximumSize">10,4</SetVariable>
<SetVariable name="MinimumSize">6,6</SetVariable>
<SetVariable name="MaximumSize">10,6</SetVariable>
<SetVariable name="SizePolicy">me,f</SetVariable>
<SetVariable name="left_connection_control">[EffectRack<Variable name="EffectRack"/>_EffectUnit<Variable name="EffectUnit"/>_Effect<Variable name="Effect"/>],parameter<Variable name="EffectParameter"/>_link_inverse</SetVariable>
</Template>
Expand All @@ -64,8 +64,8 @@
<!-- Button has no text/images, qss only -->
<SetVariable name="TooltipId">EffectSlot_parameter_link_type</SetVariable>
<SetVariable name="ObjectName">EffectSlotParameterLinkTypeButton</SetVariable>
<SetVariable name="MinimumSize">30,4</SetVariable>
<SetVariable name="MaximumSize">46,4</SetVariable>
<SetVariable name="MinimumSize">30,6</SetVariable>
<SetVariable name="MaximumSize">46,6</SetVariable>
<SetVariable name="SizePolicy">me,f</SetVariable>
<SetVariable name="left_connection_control">[EffectRack<Variable name="EffectRack"/>_EffectUnit<Variable name="EffectUnit"/>_Effect<Variable name="Effect"/>],parameter<Variable name="EffectParameter"/>_link_type</SetVariable>
</Template>
Expand Down
2 changes: 2 additions & 0 deletions res/skins/Deere/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -1876,10 +1876,12 @@ do not highlight either state. */

#EffectSlotParameterLinkInversionButton[value="1"] {
background-color: #b90505;
border: 1px solid #b90505;
}

#EffectSlotParameterLinkInversionButton[value="1"]:hover {
background-color: #e80808;
border: 1px solid #FF0808;
}

/* Special case "hide/show" button
Expand Down

0 comments on commit e79f227

Please sign in to comment.