On Tue, 5 Nov 2024 15:59:08 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
>> The buttons are sorted with `List.sort`, so that will dictate what happens >> in this scenario. Note that this class is not API, and neither users nor the >> platform will have any control over it. > > since it's still javadoc, I'll continue. The value is specified as 0/1/2 > yet I can't see any validation of that (I suspect any value would work and be > sorted as you mentioned). What gives? Any value will work. This is the javadoc for `buttonOrder`: /** * Specifies the layout order of this button relative to the other buttons. * Buttons with a lower value are laid out before buttons with a higher value. * <p> * This property corresponds to the {@code -fx-button-order} CSS property. */ ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1605#discussion_r1829647038