Files
compose-multiplatform/gradle-plugins/compose
Igor Demin b1d8682cbe Automatically add `-Dcompose.application.configure.swing.globals=true to run/package tasks (#820)
When users run/package application we will configure Compose to work as standalone application.

It means we will override some global Swing properties in Compose initialization function:
- sets system property `apple.laf.useScreenMenuBar` to true
- sets system property `sun.java2d.uiScale`/`sun.java2d.uiScale.enabled` automatically on Linux
- sets UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName())

When users don't use those tasks (when they use Compose in an existing Swing application, or in an IDEA plugin),
this property will not be set, and so we will not override Swing globals.
2021-06-30 19:20:48 +03:00
..