1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

Fixed a layout bug in MidiInputSelectorComponentListBox

This commit is contained in:
Tom Poole 2018-04-23 09:10:03 +01:00
parent be8395478f
commit 6f7f264d04
2 changed files with 3 additions and 3 deletions

View file

@ -116,7 +116,7 @@ public:
g.setFont (height * 0.6f);
g.setColour (findColour (ListBox::textColourId, true).withMultipliedAlpha (enabled ? 1.0f : 0.6f));
g.drawText (item, x, 0, width - x - 2, height, Justification::centredLeft, true);
g.drawText (item, x + 5, 0, width - x - 2, height, Justification::centredLeft, true);
}
}
@ -178,7 +178,7 @@ private:
int getTickX() const
{
return getRowHeight() + 5;
return getRowHeight();
}
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiInputSelectorComponentListBox)