mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CPP-22344: MessageDialog: Increase max lines from 10 to 15
GitOrigin-RevId: 5ca61b8289ee0917ffc1671179221499873dc52c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b7fb310662
commit
7892f49681
@@ -6,12 +6,12 @@ import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.ui.DialogWrapper;
|
||||
import com.intellij.openapi.ui.Messages;
|
||||
import com.intellij.openapi.ui.MultiLineLabelUI;
|
||||
import com.intellij.openapi.util.NlsContexts;
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.openapi.wm.IdeFrame;
|
||||
import com.intellij.openapi.wm.WindowManager;
|
||||
import com.intellij.ui.mac.foundation.MacUtil;
|
||||
import com.intellij.util.Alarm;
|
||||
import com.intellij.openapi.util.NlsContexts;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
@@ -219,7 +219,7 @@ public class MessageDialog extends DialogWrapper {
|
||||
JPanel panel = createIconPanel();
|
||||
if (myMessage != null) {
|
||||
JTextPane messageComponent = createMessageComponent(myMessage);
|
||||
panel.add(wrapToScrollPaneIfNeeded(messageComponent, 100, 10), BorderLayout.CENTER);
|
||||
panel.add(wrapToScrollPaneIfNeeded(messageComponent, 100, 15), BorderLayout.CENTER);
|
||||
}
|
||||
return panel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user