.
Best regards,
Thomas
Von: Thomas Manz [mailto:thomas.manz+...@gmail.com]
Gesendet: Dienstag, 21. April 2020 11:12
An: openjfx-dev@openjdk.java.net
Betreff: Re: JavaFX controls have large size on Raspberry Pi
-- Forwarded message --
From: Kevin Rushforth
To: openjfx-dev
> I would start by looking at what Font.getDefault().getSize() returns
since everything should be based off that.
I think the code below is the code that decides what the code above
should return
> Another thing to check is that the reported DPI of the screen is
correct.
The way I
Another thing to check is that the reported DPI of the screen is correct.
-- Kevin
On 4/20/2020 1:25 PM, David Grieve wrote:
The sizes of controls are controlled by CSS styles. Things like borders,
backgrounds, padding, insets, all of
that defaults to the styles in a stylesheet. Most sizes
The sizes of controls are controlled by CSS styles. Things like borders,
backgrounds, padding, insets, all of
that defaults to the styles in a stylesheet. Most sizes are 'em' units, meaning
they are relative to the size
of the font. JavaFX CSS will use the Font.getDefault() font size if there