From 341bbc7bc1c76d2a82c38258a2805f0ef5e5d29e Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Wed, 29 Jul 2020 13:12:42 +0300 Subject: [PATCH] IDEA-246862 [new run configs UI] with enlarged font the Main class field looks unreadable GitOrigin-RevId: 35526bd4364b1316f644f873e3531cce6e43e8eb --- .../src/com/intellij/execution/ui/CommandLinePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-api/src/com/intellij/execution/ui/CommandLinePanel.java b/platform/platform-api/src/com/intellij/execution/ui/CommandLinePanel.java index fc325d50b949..49ad20d1ecb2 100644 --- a/platform/platform-api/src/com/intellij/execution/ui/CommandLinePanel.java +++ b/platform/platform-api/src/com/intellij/execution/ui/CommandLinePanel.java @@ -52,7 +52,7 @@ public class CommandLinePanel extends JPanel { } public static void setMinimumWidth(Component component, int width) { - Dimension size = new Dimension(width, Math.max(30, component.getMinimumSize().height)); + Dimension size = new Dimension(width, Math.max(JBUI.scale(30), component.getMinimumSize().height)); component.setMinimumSize(size); component.setPreferredSize(size); }