I tried many times to make the vertical Scroll Bar
of Textrea
to be always active instead of being visible only when focus on the Textarea
but I couldn't do that ! ..
any help please
I know that a lot of time has passed since this question was asked but I still want to give the answer for those who need it. To make the ScrollBar visible you just need to access to it from the TextArea class while passing through the Scrollpane :
.text-area > .scroll-pane{
-fx-vbar-policy:always; /* Control the vertical ScrollBar (always,needed,never) */
-fx-hbar-policy:always; /* Control the horizontal ScrollBar (always,needed,never) */
}
Good luck !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With