From 80e720a862c4be1fd245c839b7fca61bbab52c1a Mon Sep 17 00:00:00 2001 From: Aydar Mukhametzyanov Date: Tue, 26 Mar 2024 10:30:54 +0100 Subject: [PATCH] IDEA-344208 Ensure the background is painted in the south panel of ProductChooserPage GitOrigin-RevId: db92251239337d2021eeee610fba5e6ecd32beab --- .../chooser/productChooser/ProductChooserPage.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/ide-startup/importSettings/src/com/intellij/ide/startup/importSettings/chooser/productChooser/ProductChooserPage.kt b/plugins/ide-startup/importSettings/src/com/intellij/ide/startup/importSettings/chooser/productChooser/ProductChooserPage.kt index ea0c3f1a4a70..245ad4669e31 100644 --- a/plugins/ide-startup/importSettings/src/com/intellij/ide/startup/importSettings/chooser/productChooser/ProductChooserPage.kt +++ b/plugins/ide-startup/importSettings/src/com/intellij/ide/startup/importSettings/chooser/productChooser/ProductChooserPage.kt @@ -86,7 +86,11 @@ class ProductChooserPage(val controller: ImportSettingsController, override val } } - private val south = JPanel(BorderLayout()).apply { + private val south = object: JPanel(BorderLayout()) { + override fun getComponentGraphics(g: Graphics?): Graphics { + return JBSwingUtilities.runGlobalCGTransform(this, super.getComponentGraphics(g)) + } + }.apply { val group = DefaultActionGroup() group.add(OtherOptions(controller))