-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
JScrollPane Focused Border Bug #876
Comments
Seems to be a similar (or same) clipping bug in Swing as described in PR #864. It is also in Metal and Nimbus L&F (you need to change empty border of |
This Swing scales part has a lot of bugs on Windows. At least in this case, the solution is simple. |
And what is the solution 🤔 |
Your tip solved my problem. Using ScrollPane.viewportBorder also solves this screenshot error, in fact that's what I'm using and the border is being painted without errors at any scale. |
Karl,
See this bug with the JScrollPane border.
When the rendered cells of the JList are JPanel, the rendered content is "invading" the place intended for the border, only when the scrolling is at the beginning, in other parts, the problem does not occur.
The bug only occurs at 1.25x scale.
If the cells are rendered as standard, the bug does not occur.
The tested FlatLaf versions were 3.5 and 3.6-SNAPSHOT.
Using HiDPIUtils.installHiDPIRepaintManager() also did not solve the bug.
The text was updated successfully, but these errors were encountered: