MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / resized

Method resized

Source/Panels/ControlPanel/ModulationMatrixPanel.cpp:41–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void ModulationMatrixHeader::resized()
42{
43 // Use a FlexBox to lay out the header labels, matching the row layout.
44 juce::FlexBox flex;
45 flex.flexDirection = juce::FlexBox::Direction::row;
46 flex.items.add(juce::FlexItem(sourceLabel).withFlex(1.0f));
47 flex.items.add(juce::FlexItem(amountLabel).withFlex(2.0f));
48 flex.items.add(juce::FlexItem(polarityLabel).withFlex(1.0f));
49 flex.items.add(juce::FlexItem(bypassLabel).withFlex(1.0f));
50 flex.items.add(juce::FlexItem(destinationLabel).withFlex(1.0f));
51 flex.items.add(juce::FlexItem().withWidth(35));
52 flex.performLayout(getLocalBounds());
53}
54
55//==============================================================================
56// ModulationMatrixRow Implementation

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected