On Windows, the recommended way to get HiDPI scaling would be to set the 
scaling level from the "Displays" control panel setting in Windows. You can set 
it to e.g. 125%, 150%, or 200%, and NetBeans will be shown correctly in these 
cases. In a multi-monitor setup, each monitor can have its own scaling level.

The flatlaf.uiScale property is not an official NetBeans setting; it just 
happens to be exposed by the underlying FlatLAF library, which is used for 
some, but not all, drawing operations.

-- Eirik


From: Dragan Bjedov <draganbje...@gmail.com>
Sent: Monday, May 29, 2023 9:59 AM
To: users <users@netbeans.apache.org>
Subject: Wrong position of folder badge icons

Hello,

I have an issue that badge icons are misplaced when using scaling. I have added 
to netbeans_default_options scaling options: -J-Dflatlaf.uiScale=1.2 --fontsize 
17.
NetBeans 17
[cid:image001.png@01D9922A.F3F9B3D0]
NetBeans Dev
[cid:image002.png@01D9922A.F3F9B3D0]

Without scaling:
[cid:image003.png@01D9922A.F3F9B3D0]
OS: Windows 10
Java: JDK 17

Is there already a bug for this?

Kind regards,
Dragan

Reply via email to