From: David ‘Bombe’ Roden Date: Sun, 25 May 2008 11:04:23 +0000 (+0200) Subject: add some spacing to menu label X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=09c626c3de52d507f682383002f20402ab41e1a6;p=jSite2.git add some spacing to menu label --- diff --git a/src/net/pterodactylus/jsite/gui/NodeLabel.java b/src/net/pterodactylus/jsite/gui/NodeLabel.java index cd4092e..8d3d098 100644 --- a/src/net/pterodactylus/jsite/gui/NodeLabel.java +++ b/src/net/pterodactylus/jsite/gui/NodeLabel.java @@ -130,7 +130,7 @@ public class NodeLabel extends JLabel implements PropertyChangeListener, MouseLi setIcon(offlineIcon); contextMenu = new JPopupMenu(); menuLabel = new I18nLabel("mainWindow.statusBar.nodeLabel", node.getName()); - JPanel menuPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 0, 0)); + JPanel menuPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 6, 0)); menuPanel.add(menuLabel); contextMenu.add(menuPanel); contextMenu.addSeparator();