commit 78dae7f375707cbba18e60e275cc19aa9cfd62c3
parent 58b245e0f033550ca2a59337ed1a32bcbed741d2
Author: Jatin Chowdhury <jatinchowdhury18@gmail.com>
Date: Thu, 27 Jan 2022 19:26:02 +0000
Fix LookAndFeel for settings menu
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Plugin/Source/GUI/Assets/gui.xml b/Plugin/Source/GUI/Assets/gui.xml
@@ -275,7 +275,7 @@
<presets margin="5" padding="0" background-color="00000000" border-color="595C6B"
radius="" border="" lookAndFeel="PresetsLNF" flex-grow="1.95"
max-height="100"/>
- <SettingsButton lookAndFeel="MyLNF" background-color="00000000" flex-grow="0.06"
+ <SettingsButton lookAndFeel="ComboBoxLNF" background-color="00000000" flex-grow="0.06"
margin="0" padding="5" max-width="40" min-width="25"/>
</View>
</View>
diff --git a/Plugin/Source/GUI/Assets/gui_ios.xml b/Plugin/Source/GUI/Assets/gui_ios.xml
@@ -51,7 +51,7 @@
tooltip="Adds this plugin to a mix group. When the plugin is added to a group, the group parameters will be copied to this plugin, and their parameters will remain in sync."/>
<MixGroupViz flex-grow="0.3" margin="5" padding="0" background-color="00000000"/>
<TipJar flex-grow="0.75" margin="0" padding="0" background-color="00000000" lookAndFeel="ComboBoxLNF"/>
- <SettingsButton lookAndFeel="MyLNF" background-color="00000000" flex-grow="0.06"
+ <SettingsButton lookAndFeel="ComboBoxLNF" background-color="00000000" flex-grow="0.06"
margin="0" padding="5" max-width="40" min-width="25"/>
</View>
<View max-height="80" padding="0" margin="0" background-color="">
diff --git a/Plugin/Source/GUI/SettingsButton.cpp b/Plugin/Source/GUI/SettingsButton.cpp
@@ -69,7 +69,7 @@ void SettingsButton::showSettingsMenu()
.withParentComponent (parentComp)
.withPreferredPopupDirection (PopupMenu::Options::PopupDirection::upwards)
.withStandardItemHeight (27);
- menu.setLookAndFeel (lnfAllocator->getLookAndFeel<MyLNF>());
+ menu.setLookAndFeel (lnfAllocator->getLookAndFeel<ComboBoxLNF>());
menu.showMenuAsync (options);
}