Skip to content

Commit

Permalink
Make it easier to see grouped notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Zakru committed Jun 16, 2020
1 parent 03ec31f commit bf72813
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ public void mouseExited(MouseEvent e)
JPanel notificationView = new JPanel();
notificationView.setLayout(new BoxLayout(notificationView, BoxLayout.Y_AXIS));
notificationView.setOpaque(false);
notificationView.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0));
notificationView.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createMatteBorder(0, 5, 0, 0, ColorScheme.DARKER_GRAY_COLOR),
BorderFactory.createEmptyBorder(0, 5, 0, 0))
);

int index = 0;
notificationView.add(new DropSpace(plugin, notification, index++));
Expand Down

0 comments on commit bf72813

Please sign in to comment.