diff --git a/Source/GuiTabs.cpp b/Source/GuiTabs.cpp index 643f816..c5586ab 100644 --- a/Source/GuiTabs.cpp +++ b/Source/GuiTabs.cpp @@ -22,7 +22,7 @@ void GuiTabs::paint (Graphics& g) void GuiTabs::resized() { - tabbedComponent->setBounds (0, 0, proportionOfWidth (1.0000f), proportionOfHeight (1.0000f)); + tabbedComponent->setBounds (0, 0, getWidth(), getWidth()); } void GuiTabs::notify() diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 5f1440e..e7fd50c 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -23,7 +23,7 @@ void VanillaJuceAudioProcessorEditor::paint (Graphics& g) void VanillaJuceAudioProcessorEditor::resized() { - guiTabs.setBounds(0, 0, proportionOfWidth(1.0000f), proportionOfHeight(1.0000f)); + guiTabs.setBounds(0, 0, getWidth(), getHeight()); } void VanillaJuceAudioProcessorEditor::changeListenerCallback(ChangeBroadcaster* source)