Skip to content
Advertisement

Tag: resize

JavaFX – Resize Canvas when screen is resized

I’m working on the GUI of my level editor that I built in JavaFX, and I want to be able to resize the canvas object to the new split pane dimensions. It seems that everything I’ve tried has failed. This includes passing the pane object in and using its width directly, using window size listeners and binding the width and

Advertisement