On Fri, 31 May 2024 21:50:08 GMT, Andy Goryachev <ango...@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: > >  > >  I must clarify: ideally, the size of all the UI elements *should* depend on the base font size, but currently does not (and I don't know exactly how to make it so). And apparently I am wrong about saying that only TextArea has the issue. Here is a screenshot of an app with the root font size set at 50%, and combo box at 200%:  It does not look right either, the UI elements should not get scaled in my opinion, only the text. I'd rather have a consistent size of UI elements in an application. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1469#issuecomment-2150364599