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

Scrollbars height/width need to be ceiled to the nearest pixel if this region's snapToPixel property is true. #82

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

fthevenet
Copy link
Contributor

@fthevenet fthevenet commented Jan 19, 2021

Fixes #81 Scrollbars height/width need to be ceiled to the nearest pixel if this region's snapToPixel property is true.

Failing to do so will ultimately cause a feedback loop in the layout of the VirtualizedScrollPane under under some screen scale (125%, 150%, 175%, etc...) when used with OpenJFX 16 or higher.

…s region's snapToPixel property is true.

Failing to do so will ultimately cause a feedback loop in the layout of the VirtualizedScrollPane under under some screen scale (125%, 150%, 175%, etc...) when used with OpenJFX 16 or higher.
@Jugen
Copy link
Contributor

Jugen commented Jan 19, 2021

Great, thanks for this !

@Jugen Jugen merged commit 7c7749a into FXMisc:master Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VirtualizedScrollPane causes high CPU and GPU on idle with 125% screen scaling
2 participants