Calloutbox tweak

This commit is contained in:
xenakios 2018-05-07 20:47:17 +03:00
parent 7c9e4ac88d
commit 44114a7f2c

View File

@ -248,8 +248,8 @@ PaulstretchpluginAudioProcessorEditor::~PaulstretchpluginAudioProcessorEditor()
void PaulstretchpluginAudioProcessorEditor::showRenderDialog()
{
auto content = new RenderSettingsComponent(&processor);
CallOutBox& myBox
= CallOutBox::launchAsynchronously(content, getScreenBounds(), nullptr);
content->setSize(content->getWidth(), content->getPreferredHeight());
CallOutBox& myBox = CallOutBox::launchAsynchronously(content, m_render_button.getBounds(), this);
}
void PaulstretchpluginAudioProcessorEditor::paint (Graphics& g)