IDEA-246862 [new run configs UI] with enlarged font the Main class field looks unreadable

GitOrigin-RevId: 35526bd4364b1316f644f873e3531cce6e43e8eb
This commit is contained in:
Dmitry Avdeev
2020-07-29 10:13:16 +00:00
committed by intellij-monorepo-bot
parent bf474e565f
commit 341bbc7bc1
@@ -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);
}