GetDunne Wiki

Notes from the desk of Shane Dunne, software development consultant

User Tools

Site Tools


the_plugin_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
the_plugin_editor [2017/08/30 20:12]
shane [The individual tabs]
the_plugin_editor [2017/10/02 19:38] (current)
shane [The GuiTabs object]
Line 29: Line 29:
     , guiTabs(p.getSound())     , guiTabs(p.getSound())
 { {
-    setSize (600, 400);+    setSize (600, 300);
     addAndMakeVisible(&guiTabs);     addAndMakeVisible(&guiTabs);
     p.addChangeListener(this);     p.addChangeListener(this);
Line 46: Line 46:
 void VanillaJuceAudioProcessorEditor::resized() void VanillaJuceAudioProcessorEditor::resized()
 { {
-    guiTabs.setBounds(0, 0, proportionOfWidth(1.0000f), proportionOfHeight(1.0000f));+    guiTabs.setBounds(0, 0, getWidth(), getHeight());
 } }
  
Line 106: Line 106:
 void GuiTabs::resized() void GuiTabs::resized()
 { {
-    tabbedComponent->setBounds (0, 0, proportionOfWidth (1.0000f), proportionOfHeight (1.0000f));+    tabbedComponent->setBounds (0, 0, getWidth(), getHeight());
 } }
  
the_plugin_editor.1504123944.txt.gz · Last modified: 2017/08/30 20:12 by shane