mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
PY-82344 Add rounded border to Welcome Screen promo banner
(cherry picked from commit b850e0d2751c4ec3d2d0f4a7cf6183c512f1eb40) GitOrigin-RevId: 689543b60966333c24e7835e2839114fc3c5f405
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2634998685
commit
aa627de5dd
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user