RFR: 8264591: HBox/VBox child widths pixel-snap to wrong value [v7]
Andy Goryachev
angorya at openjdk.org
Wed Apr 26 18:41:07 UTC 2023
On Tue, 25 Apr 2023 18:38:43 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:
> The min/max values are not strictly honored when snapping is on, they're snapped first.
[question]
Here is a general question: in the case when min==max, in which direction should we snap? Could this question be answered all the time, or do we need some sort of hint from the app developer?
For example, we may decide to honor min width over max width when snapping, to avoid text overruns in labels and buttons. At the same time, there might be situations where max width is more important, I just can't think of any.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/445#issuecomment-1523877538
More information about the openjfx-dev
mailing list