From 81f30d0e594b87fc756f4b7ea362109be98e5a54 Mon Sep 17 00:00:00 2001 From: Edoardo Luppi Date: Mon, 2 Aug 2021 19:33:15 +0200 Subject: [PATCH] refactor: add margins to WhatsNewEmptyPanel --- .../kotlin/com/github/lppedd/cc/whatsnew/WhatsNewEmptyPanel.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/com/github/lppedd/cc/whatsnew/WhatsNewEmptyPanel.kt b/src/main/kotlin/com/github/lppedd/cc/whatsnew/WhatsNewEmptyPanel.kt index 328cbdc4..1a0e4cba 100644 --- a/src/main/kotlin/com/github/lppedd/cc/whatsnew/WhatsNewEmptyPanel.kt +++ b/src/main/kotlin/com/github/lppedd/cc/whatsnew/WhatsNewEmptyPanel.kt @@ -5,6 +5,7 @@ import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.ui.components.JBLabel import com.intellij.ui.components.labels.ActionLink +import com.intellij.util.ui.JBUI import com.intellij.util.ui.UIUtil import java.awt.Component import java.awt.Desktop @@ -33,6 +34,7 @@ internal class WhatsNewEmptyPanel : JPanel() { add(label) add(link) add(Box.createVerticalGlue()) + border = JBUI.Borders.empty(40, 30) } private class VisitPageAction : AnAction() {