Skip to content

Commit

Permalink
Simplified window size propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
getdunne committed Oct 2, 2017
1 parent 63c5658 commit 1de06e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/GuiTabs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion Source/PluginEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1de06e8

Please sign in to comment.