mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Fixed a positioning bug in MultiChoicePropertyComponent
This commit is contained in:
parent
e24cfc864a
commit
c70d321007
1 changed files with 4 additions and 1 deletions
|
|
@ -287,7 +287,10 @@ void MultiChoicePropertyComponent::resized()
|
|||
auto bounds = getLookAndFeel().getPropertyComponentContentPosition (*this);
|
||||
|
||||
bounds.removeFromBottom (5);
|
||||
expandButton.setBounds (bounds.removeFromBottom (10));
|
||||
|
||||
auto buttonSlice = bounds.removeFromBottom (10);
|
||||
expandButton.setSize (10, 10);
|
||||
expandButton.setCentrePosition (buttonSlice.getCentre());
|
||||
|
||||
numHidden = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue