S
S
sublime_text32020-01-02 12:30:58
Java
sublime_text3, 2020-01-02 12:30:58

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

1 answer(s)
S
sublime_text3, 2020-01-02
@sublime_text3

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 question

Ask a Question

731 491 924 answers to any question