Answer the question
In order to leave comments, you need to log in
How to add a scrollbar to a JavaFx label?
I have a huge label with text, but when a part of the text does not fit into the label, the part of the text that does not fit is not displayed, and I would like to be able to add a scrollbar with which I could scroll down and see this part of the text. I need a scrollbar ONLY VERTICAL
Answer the question
In order to leave comments, you need to log in
I found here on the Internet such a widget as TextArea there is a built-in scrollbar.
There are almost no differences from the label, you can simply remove the editable there and you're done.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question