RFR: 8314683: TextArea: scroll bar size and content padding
Kevin Rushforth
kcr at openjdk.org
Wed Jun 5 14:51:05 UTC 2024
On Fri, 31 May 2024 21:50:08 GMT, Andy Goryachev <angorya at openjdk.org> 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
More information about the openjfx-dev
mailing list