From d065c2d305e85762c38b2f33daae7ee64eb24039 Mon Sep 17 00:00:00 2001 From: xenakios Date: Tue, 12 Feb 2019 15:21:47 +0200 Subject: [PATCH] Filebrowser tweaks --- Source/PluginEditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index c40fb06..d9d6317 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -583,7 +583,7 @@ void PaulstretchpluginAudioProcessorEditor::toggleFileBrowser() m_filechooser = std::make_unique(processor); addChildComponent(m_filechooser.get()); } - m_filechooser->setBounds(0, 50, getWidth(), getHeight() - 60); + m_filechooser->setBounds(0, 26, getWidth()/2, getHeight() - 75); m_filechooser->setVisible(!m_filechooser->isVisible()); if (m_filechooser->isVisible()) m_import_button.setButtonText("Hide browser"); @@ -1598,7 +1598,7 @@ void MyFileBrowserComponent::resized() void MyFileBrowserComponent::paint(Graphics & g) { - //g.fillAll(Colours::yellow); + g.fillAll(Colours::black.withAlpha(0.8f)); } void MyFileBrowserComponent::selectionChanged()