mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
PopupMenu: Move IdealSize modifiers to LookAndFeel
This commit is contained in:
parent
8be4c49c19
commit
e360d83057
4 changed files with 31 additions and 2 deletions
|
|
@ -3,6 +3,31 @@
|
|||
# Version 8.0.4
|
||||
|
||||
|
||||
## Change
|
||||
|
||||
HeaderItemComponent::getIdealSize no longer applies modifiers to the result
|
||||
directly. Instead, these changes have been moved to the respective LookAndFeel
|
||||
methods, enabling better customization.
|
||||
|
||||
**Possible Issues**
|
||||
|
||||
Code that overrides LookAndFeel::getIdealPopupMenuItemSize and relied on the
|
||||
previous modifiers applied in HeaderItemComponent::getIdealSize may now behave
|
||||
differently.
|
||||
|
||||
**Workaround**
|
||||
|
||||
Review any overrides of LookAndFeel::getIdealPopupMenuItemSize and apply the
|
||||
necessary adjustments to account for any missing modifiers or changes in
|
||||
behavior.
|
||||
|
||||
**Rationale**
|
||||
|
||||
The previous approach did not allow users to customize the applied modifiers
|
||||
through the LookAndFeel class. Moving this logic to LookAndFeel methods ensures
|
||||
consistent and flexible customization.
|
||||
|
||||
|
||||
## Change
|
||||
|
||||
The behavior of AudioTransportSource::hasStreamFinished has been updated to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue