This is the follow up of the previous article on resize with JavaFX. In this article I will show you how I created a Layout manager that has top and left insets which stay constant when the window is resized to a size larger than the original, but reduce proportionally if the size becomes smaller. The second point addressed here are resizable images.
Schlagwort: layout
JavaFX resize
After the previous posts, this is the first one that uncovers an issue, where a custom solution is required.
Overlay with AnchorLayout
Aim of this post is to show how multiple animations or other nodes can be placed side by side in an efficient way on a single layer on the stack
Refactoring into a Component
When you design a graphical user interface strait forward (meaning you don’t plan on the final product) you might sometime realise that you have components that would be useful in other GUIs as well. The refactoring of such a component can be tricky especially consearning the preserving of the layout (the optical impression to the user). Therefore this article should shed some light on how to wrap a simple Lable into its component.
„Refactoring into a Component“ weiterlesen