From bea16ff8665d39d3d5a69b21e741ccbce3465ba0 Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Thu, 2 Mar 2017 21:57:54 +0300 Subject: [PATCH] RUBY-19203 Make dialog for add new Puppet module wider added 20px as designer said to ensure that the label is always shorter than text field --- platform/platform-api/src/com/intellij/openapi/ui/Messages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java index 9cf532cfbc84..92d1f80d1bdc 100644 --- a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java +++ b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java @@ -1823,7 +1823,7 @@ public class Messages { textLabel.setUI(new MultiLineLabelUI()); textComponent = textLabel; } - textComponent.setBorder(BorderFactory.createEmptyBorder(0, 0, 5, 0)); + textComponent.setBorder(BorderFactory.createEmptyBorder(0, 0, 5, 20)); return textComponent; }