On Thu, 27 Aug 2026 08:37:40 GMT, Marius Hanl <[email protected]> wrote:

>> No, this is in the guide.
>> 
>> |`top`|`bottom`| a + b | snap(a + b) | snap(a) + snap(b) |
>> |---|---|---|---|---|
>> |0.6|0.6|1.2|1.0|2.0|
>> |0.1|0.1|0.2|0.0|0.0|
>> |0.1|0.8|0.9|1.0|1.0|
>> |0.3|0.3|0.6|1.0|0.0|
>
> Ah you are right, I thought that `topMargin.getBottom()` is already snapped, 
> but it is not!
> Deleted my comments below that asked the same question.

That could have been possible, I tend to track "presnapped" insets when I write 
my own layout code.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2262#discussion_r3871202638

Reply via email to