I would like to react when a user changes the size of my Stage, so some way to handle resize events is needed.
The most typical use case for this would be to set a minimum and/or maximum size — for this it would be convenient to have a .setMinimumSize(width, height) and .setMaximumHeight method vs. implementing a handler that checks if the resizing operation is reducing or increasing the size and consumes the event if required.
The most typical use case for this would be to set a minimum and/or maximum size — for this it would be convenient to have a .setMinimumSize(width, height) and .setMaximumHeight method vs. implementing a handler that checks if the resizing operation is reducing or increasing the size and consumes the event if required.
- duplicates
-
JDK-8101292 Need a way to set the minimum size of a window
- Closed