On Tue, 5 Nov 2024 01:11:24 GMT, Michael Strauß <mstra...@openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/com/sun/glass/ui/WindowControlsOverlay.java
>>  line 104:
>> 
>>> 102:  *     </thead>
>>> 103:  *     <tbody><tr>
>>> 104:  *         
>>> <th>-fx-button-order</th><td>&lt;integer&gt;</td><td>0/1/2</td>
>> 
>> what happens when CSS sets all buttons to the same value?
>> should this be something that user has control over vs. defined by the 
>> platform?
>
> 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?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1605#discussion_r1829611983

Reply via email to