Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Toolbar overflow impl. #7012

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

mbien
Copy link
Member

@mbien mbien commented Jan 29, 2024

The overflow handling is now in doLayout() and runs when invalidate() was called instead of listening to resize events. See #7000 (comment)

Misc impl improvements: fewer array copies and the toolbar should be rebuilt less often.

fixes #7000

@mbien mbien added UI User Interface ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Jan 29, 2024
@mbien mbien added this to the NB22 milestone Jan 29, 2024
@mbien mbien added the Platform [ci] enable platform tests (platform/*) label Jan 29, 2024
@mbien
Copy link
Member Author

mbien commented Jan 29, 2024

this is for NB 22 so no hurry

@mbien mbien marked this pull request as ready for review January 29, 2024 14:35
@mbien
Copy link
Member Author

mbien commented Feb 6, 2024

oops. I assigned this PR by mistake instead of requesting review.

@mbien mbien modified the milestones: NB22, NB23 Apr 17, 2024
Copy link
Contributor

@eirikbakke eirikbakke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and found no new problems, though I wasn't able to reproduce the originally reported bug. (I tried on FlatLAF on Windows.)

The overflow handling is now in doLayout() and runs when invalidate()
was called instead of listening to resize events.

Misc impl improvements.
@mbien
Copy link
Member Author

mbien commented Jul 17, 2024

cool! going to rebase the commit ontop of latest master to get a fresh CI run

@mbien mbien merged commit bcebbed into apache:master Jul 17, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Platform [ci] enable platform tests (platform/*) UI User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customizing Toolbar Can Overflow Without Creating Dropdown
3 participants