How to make VirtualizedScrollPane scroll to the bottom?
See original GitHub issueI use RichTextFX 0.10.9 and I have the following code:
InlineCssTextArea textArea = new InlineCssTextArea();
VirtualizedScrollPane scrollPane = new VirtualizedScrollPane(textArea);
.....
Platform.runLater(() -> {
.....
scrollPane.scrollYToPixel(Double.MAX_VALUE);//LINE X
});
At line X I need to scroll textArea to bottom. But it doesn’t work. Please, could anyone tell me how to do it?
Issue Analytics
- State:
- Created a year ago
- Comments:9
Top Results From Across the Web
JavaFX auto-scroll down scrollpane - Stack Overflow
For example, I have a TitledPane on the bottom of the screen (inside a ScrollPane) and when I expand it I would like...
Read more >Getting scroll position of CodeArea #98 - FXMisc/RichTextFX
Hi! I'm using this API for a project, and have added a CodeArea in a StackPane on top of a Canvas. I want...
Read more >Programmatically scroll to bottom in ScrollPane — oracle-tech
I am trying to auto scroll to bottom in a ScrollPane. I add items to a VBox, like in a chat window. Therefore...
Read more >VirtualizedScrollPane (Flowless 0.6 API) - FXMisc
Unbinds scrolling from Content before returning Content. void, scrollXBy(double deltaX). Scroll the content horizontally by the given amount.
Read more >JavaFX: Synchronize Editor scrollbar with WebView scrollbar
Hey list! Am wondering how to go about synchronizing scroll bars between a JavaFX StyleClassedTextArea that uses a VirtualizedScrollPane and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Jugen No, I don’t use richtextfx-fat. I solved the problem with the compilation error by adding
requires reactfx;
to my module-info. Thank you for your help.Requested output is:
org.reactfx.collection.SuspendableListWrapper
Are you using the fat jar:
richtextfx-fat-0.10.9.jar
?