Browse Source

REPORT-73262【设计器环境监测】右下角弹窗文字显示不全

右边的大小 Border 太大了, 更换一下。
feature/x
Harrison 2 years ago
parent
commit
c29935fbf8
  1. 2
      designer-base/src/main/java/com/fr/design/components/notification/NotificationDialog.java

2
designer-base/src/main/java/com/fr/design/components/notification/NotificationDialog.java

@ -162,7 +162,7 @@ public class NotificationDialog extends JDialog {
contentPanel.add(iconPanel, BorderLayout.WEST); contentPanel.add(iconPanel, BorderLayout.WEST);
JPanel centerPanel = FRGUIPaneFactory.createBorderLayout_S_Pane(); JPanel centerPanel = FRGUIPaneFactory.createBorderLayout_S_Pane();
centerPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 5, 20)); centerPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 5, 5));
NotificationMessage[] messages = model.getMessages(); NotificationMessage[] messages = model.getMessages();
List<? extends JComponent> messageComponents = Arrays.stream(messages) List<? extends JComponent> messageComponents = Arrays.stream(messages)

Loading…
Cancel
Save