mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
Improved the layout of the tick boxes in AudioDeviceSelectorComponent when using LookAndFeel_V4
This commit is contained in:
parent
ff7cfb8824
commit
b0c3531ac3
1 changed files with 2 additions and 2 deletions
|
|
@ -812,7 +812,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 - 5, height, Justification::centredLeft, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -959,7 +959,7 @@ public:
|
|||
|
||||
int getTickX() const
|
||||
{
|
||||
return getRowHeight() + 5;
|
||||
return getRowHeight();
|
||||
}
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ChannelSelectorListBox)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue