Browse Source

Reorder macros menu entries; Fix Theme separator color

tags/1.9.4
falkTX 11 years ago
parent
commit
65ed7c88b4
2 changed files with 9 additions and 7 deletions
  1. +8
    -6
      resources/ui/carla.ui
  2. +1
    -1
      source/theme/CarlaStyle.cpp

+ 8
- 6
resources/ui/carla.ui View File

@@ -302,13 +302,15 @@
<string>Macros (all plugins)</string>
</property>
<addaction name="act_plugins_enable"/>
<addaction name="act_plugins_volume100"/>
<addaction name="act_plugins_wet100"/>
<addaction name="act_plugins_center"/>
<addaction name="separator"/>
<addaction name="act_plugins_disable"/>
<addaction name="separator"/>
<addaction name="act_plugins_volume100"/>
<addaction name="act_plugins_mute"/>
<addaction name="separator"/>
<addaction name="act_plugins_wet100"/>
<addaction name="act_plugins_bypass"/>
<addaction name="separator"/>
<addaction name="act_plugins_center"/>
</widget>
<addaction name="act_plugin_add"/>
<addaction name="act_plugin_remove_all"/>
@@ -700,7 +702,7 @@
</action>
<action name="act_plugins_bypass">
<property name="text">
<string>Bypass</string>
<string>0% Wet (Bypass)</string>
</property>
</action>
<action name="act_plugins_wet100">
@@ -710,7 +712,7 @@
</action>
<action name="act_plugins_mute">
<property name="text">
<string>Mute</string>
<string>0% Volume (Mute)</string>
</property>
</action>
<action name="act_plugins_volume100">


+ 1
- 1
source/theme/CarlaStyle.cpp View File

@@ -1832,7 +1832,7 @@ void CarlaStyle::drawControl(ControlElement element, const QStyleOption *option,
QPalette::Text);
w = menuItem->fontMetrics.width(menuItem->text) + 5;
}
painter->setPen(shadow.lighter(106));
painter->setPen(highlight);
bool reverse = menuItem->direction == Qt::RightToLeft;
painter->drawLine(menuItem->rect.left() + 5 + (reverse ? 0 : w), menuItem->rect.center().y(),
menuItem->rect.right() - 5 - (reverse ? w : 0), menuItem->rect.center().y());


Loading…
Cancel
Save