On Fri, 31 May 2024 21:50:08 GMT, Andy Goryachev <[email protected]> wrote:
> Changing certain ScrollBar, ScrollPane, and TextArea sizes from `em` to `px`
> in modena.css to make them independent of the font size *in that control*.
>
> After the change, the UI still looks good which can be tested by scaling
> default font size in a fairly wide range:
>
>
> .root { -fx-font-size:100%; }
>
>
> Using CSS Playground tool in the Monkey Tester at 50% and 200% font size:
>
> 
>
> 
This PR presupposes that the scroll bar size and content padding _should_ be
changed to be independent of the font size. Since the current choice was a
deliberate decision, the issue should be changed to an Enhancement, and we need
to consider the possible drawbacks of such a change.
@andy-goryachev-oracle Wait for me to review this.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1469#issuecomment-2150255521
PR Comment: https://git.openjdk.org/jfx/pull/1469#issuecomment-2150257958