Skip to content
New issue

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

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

Already on GitHub? # to your account

Thin horizontal lines appear between lines of text at some positions when scrolling vertically #1091

Closed
swpalmer opened this issue Feb 15, 2022 · 1 comment · Fixed by FXMisc/Flowless#105 or FXMisc/Flowless#106

Comments

@swpalmer
Copy link

Expected Behavior

There should be no visible gaps between lines of text.

Actual Behavior

When scrolling vertically think horizontal lines appear between the lines of text. Some scroll positions are worse than others, so have no lines. IT appears to be a single pixel or less, depending on the scroll position.

Reproducible Demo

CoreArea with a stylesheet that sets the line background to a dark color makes it easier to see.

See attached screenshots, taken from the same program with slightly different scroll positions.

Environment info:

  • RichTextFX Version: 0.10.7
  • Operating System: macOS 12.2.1
  • Java version: 17.0.2 (Zulu build from Azul that includes JavaFX)

Screen Shot 2022-02-15 at 3 32 23 PM

Screen Shot 2022-02-15 at 3 32 30 PM

@Jugen
Copy link
Collaborator

Jugen commented Feb 21, 2022

This is a bug in the Flowless library that RichTextFX uses.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants