JavaFX Content Rendering & Resizing and Font Bugs In Linux

Siddhesh Rane siddheshrane at disroot.org
Wed Jan 16 14:57:15 UTC 2019


January 16, 2019 8:07 AM, "Ty Young" <youngty1997 at gmail.com> wrote:

> 
> ...and can cause undefined behavior like horizontal scrollbars showing when they shouldn't I
> assume?

As I have said previously, scrollbar issue is occuring only due to your use of DoubleBinding in layout.
I saw your code and I can confirm this is the main cause.
If you want a 15-85 % split, you should have used a GridPane with two columns with the given percentage constraints.
I have created a gist here to demonstrate it [1]. Preview it in Scene Builder. 
I would highly recommend you to play with javafx layout panes in scene builder and to use fxml for more of your layout than handcoding it.

[1] https://gist.github.com/SiddheshRane/74c59832fb2b6287620120a648b5a176

Regards
Siddhesh


More information about the openjfx-dev mailing list