Questions about Stage's attributes and operations
Thiago Milczarek Sayão
thiago.sayao at gmail.com
Sun Apr 6 21:36:31 UTC 2025
Hi,
1) How should Iconified, Maximized and FullScreen interact?
The Stage documentation states:
"In case that more Stage modes are set simultaneously their order of
importance is iconified, fullScreen, maximized (from strongest to weakest)."
To my understanding, this means if I set all three properties to true, show
the stage and unset one by on in order, it should
- Show iconified;
- Show fullscreen (when iconified set to false);
- Show maximized;
- Show with "normal" dimensions;
Is this correct?
2) Should Maximized report maximized location and dimensions?
fullScreen doc on Stage states:
"However once in full-screen mode, Stage's x, y, width, and height
variables will continue to represent the non-full-screen position and size
of the window; the same for iconified, resizable, style, and opacity."
Maximized does not state this. I'm unsure if it should be the same case.
It seems setting the maxWidth/maxHeight should not affect the ability of
maximizing the window, so it seems logical to not affect dimension values
when maximized.
-- Thiago.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20250406/f8690e1f/attachment.htm>
More information about the openjfx-dev
mailing list