mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-30 02:50:05 +00:00
This commit is contained in:
parent
5f94c416ab
commit
a4aa6e4a43
1 changed files with 4 additions and 15 deletions
|
|
@ -496,8 +496,7 @@ public:
|
|||
outputChanLabel->attachToComponent (outputChanList, true);
|
||||
}
|
||||
|
||||
outputChanList->updateContent();
|
||||
outputChanList->repaint();
|
||||
outputChanList->refresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -517,8 +516,7 @@ public:
|
|||
inputChanLabel->attachToComponent (inputChanList, true);
|
||||
}
|
||||
|
||||
inputChanList->updateContent();
|
||||
inputChanList->repaint();
|
||||
inputChanList->refresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1032,19 +1030,10 @@ void AudioDeviceSelectorComponent::resized()
|
|||
y += audioDeviceSettingsComp->getHeight() + space;
|
||||
}
|
||||
|
||||
VoidArray boxes;
|
||||
|
||||
if (midiInputsList != 0)
|
||||
boxes.add (midiInputsList);
|
||||
|
||||
const int boxSpace = getHeight() - y;
|
||||
|
||||
for (int i = 0; i < boxes.size(); ++i)
|
||||
{
|
||||
MidiInputSelectorComponentListBox* const box = (MidiInputSelectorComponentListBox*) boxes.getUnchecked (i);
|
||||
|
||||
const int bh = box->getBestHeight (jmin (h * 8, boxSpace / boxes.size()) - space);
|
||||
box->setBounds (lx, y, w, bh);
|
||||
const int bh = midiInputsList->getBestHeight (jmin (h * 8, getHeight() - y - space));
|
||||
midiInputsList->setBounds (lx, y, w, bh);
|
||||
y += bh + space;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue