I am working on building a tool where I have added a VirtualizedScrollPane to the CodeArea.
Issue: horizontal scrolling bar does not scroll to the last character of the right end.
They are out of the view.
But as a user i can drag the cursor and view these hidden characters.
In below image i have highlighted the missing part of the last character of the line.
enter image description here
I have tried adjusting the padding of the code area as below, but still cannot get to work as expected.
-fx-padding: 0 -6px 0 0;
I want the expected result to be like below.
enter image description here
Prabashini Samarajeewa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.