B4J Question Possible to set [vertical] scrollbar position to left side?

m4.s

Member
Licensed User
Longtime User
..for B4J's supported JavaFX controls (e.g. listview, webview, htmleditor).
 

m4.s

Member
Licensed User
Longtime User
Thanks Erel. However, that form orientation change affects all the controls added to it.

For my B4J application, however, I want to conditionally change the position of only a single listview's vertical scrollbar.

As such, I've tried to set this listview's ID to a class ("LeftLV") defined in my main form's override CSS, in these 2 different ways:

#LeftLV .scroll-bar:vertical {
-fx-direction: rtl;
}

and

#LeftLV .scroll-bar:vertical {
-fx-alignment: LEFT;
}

but neither definition worked (and debug console yielded no errors).


Other suggestions?
 
Upvote 0

m4.s

Member
Licensed User
Longtime User
That worked too Erel.

But it's still not what I need, because the listview items' orientation is now right-to-left as well.

If I cannot only change the position of the listview's vertical scrollbar, I'm just going to scrap this specific user-interface "nicety" (for left-handed mouse users) in my B4J application.

Thanks, and know that your [always] fast and helpful support is much appreciated.
 
Upvote 0
Top