Merge PR #864: HiDPI: fix incomplete component repainting at 125% or 175% scaling on Windows

This commit is contained in:
Karl Tauber
2024-07-15 18:43:46 +02:00
29 changed files with 773 additions and 85 deletions

View File

@@ -96,6 +96,9 @@ public class FlatLafDemo
// use Roboto Mono font
// FlatLaf.setPreferredMonospacedFontFamily( FlatRobotoMonoFont.FAMILY );
// install own repaint manager to fix repaint issues at 125%, 175%, 225%, ... on Windows
// HiDPIUtils.installHiDPIRepaintManager();
// application specific UI defaults
FlatLaf.registerCustomDefaultsSource( "com.formdev.flatlaf.demo" );