Disabling JavaFX minimise/maximise/etc buttons

Werner Lehmann lehmann at media-interactive.de
Tue Jul 23 04:19:19 PDT 2013


On 23.07.2013 12:39, Artem Ananiev wrote:
> To me, making a window non-resizable is a good way to make the window
> unmaximizable. Do you see any cases, when a window should be resizable,
> but not maximizable?

I create resizable modal dialogs on a frequent basis. To me, sizability 
is a convenience for the user. At the same time, modal dialogs should 
not be maximized. My opinion.

> Unminimizable windows are annoying. If we disable that, we'll likely get
> some weirdness, e.g. Win+M or Win+D on Windows will leave the window on
> the desktop, which is not what users expect.

Minimizing a modal dialog does not achieve much because the owning 
window is still blocked. Unless that window is minimized along. At least 
Windows usually disables the window decoration buttons of the owning 
window though.

Werner


More information about the openjfx-dev mailing list