From aa627de5ddbb4e77d44668d254f7534f50434637 Mon Sep 17 00:00:00 2001 From: Daniil Kalinin Date: Thu, 6 Nov 2025 13:14:56 +0100 Subject: [PATCH] PY-82344 Add rounded border to Welcome Screen promo banner (cherry picked from commit b850e0d2751c4ec3d2d0f4a7cf6183c512f1eb40) GitOrigin-RevId: 689543b60966333c24e7835e2839114fc3c5f405 --- .../impl/promo/PyCommunityToUnifiedWelcomeScreenBannerBase.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promo/PyCommunityToUnifiedWelcomeScreenBannerBase.kt b/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promo/PyCommunityToUnifiedWelcomeScreenBannerBase.kt index e479e4c51da1..0987fbf86944 100644 --- a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promo/PyCommunityToUnifiedWelcomeScreenBannerBase.kt +++ b/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promo/PyCommunityToUnifiedWelcomeScreenBannerBase.kt @@ -6,6 +6,8 @@ import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.util.Disposer import com.intellij.openapi.wm.BannerStartPagePromoter import com.intellij.openapi.wm.impl.IdeBackgroundUtil +import com.intellij.ui.JBColor +import com.intellij.ui.RoundedLineBorder import com.intellij.util.SVGLoader import com.intellij.util.ui.GraphicsUtil import com.intellij.util.ui.JBInsets @@ -38,6 +40,7 @@ abstract class PyCommunityToUnifiedWelcomeScreenBannerBase : BannerStartPageProm val backgroundPanel = BackgroundPanel(BorderLayout(), backgroundImage) backgroundPanel.add(panel, BorderLayout.CENTER) backgroundPanel.isOpaque = false + backgroundPanel.border = RoundedLineBorder(JBColor.border(), 16, 1) return backgroundPanel }