The task is to reduce the width of .thumb (scroll slider). I tried something like this but it doesn’t work:
<code>.scroll-bar:vertical .thumb {
-fx-max-width: 2px;
-fx-background-width: 2px;
}
</code>
<code>.scroll-bar:vertical .thumb {
-fx-max-width: 2px;
-fx-background-width: 2px;
}
</code>
.scroll-bar:vertical .thumb {
-fx-max-width: 2px;
-fx-background-width: 2px;
}
Are there any ways to do this?