From 30f9d25d77ccb5cd978d4cf8fa389ec819e90e95 Mon Sep 17 00:00:00 2001
From: Philip L. McMahon <philip.l.mcmahon@gmail.com>
Date: Fri, 27 Jan 2012 02:02:19 -0500
Subject: [PATCH] Correct update of HEAD symbolic reference when target is a tag.

---
 src/com/gitblit/client/StatusPanel.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/com/gitblit/client/StatusPanel.java b/src/com/gitblit/client/StatusPanel.java
index 669aa47..f22d69c 100644
--- a/src/com/gitblit/client/StatusPanel.java
+++ b/src/com/gitblit/client/StatusPanel.java
@@ -106,15 +106,15 @@
 		propertiesTable.setRowHeight(nameRenderer.getFont().getSize() + 8);
 		propertiesTable.getColumn(name).setCellRenderer(nameRenderer);
 
-		JPanel centerPanel = new JPanel(new BorderLayout());
+		JPanel centerPanel = new JPanel(new BorderLayout(Utils.MARGIN, Utils.MARGIN));
 		centerPanel.add(fieldsPanel, BorderLayout.NORTH);
 		centerPanel.add(new JScrollPane(propertiesTable), BorderLayout.CENTER);
 
-		JPanel controls = new JPanel();
+		JPanel controls = new JPanel(new FlowLayout(FlowLayout.CENTER, Utils.MARGIN, 0));
 		controls.add(refreshStatus);
 
 		header = new HeaderPanel(Translation.get("gb.status"), "health_16x16.png");
-		setLayout(new BorderLayout());
+		setLayout(new BorderLayout(Utils.MARGIN, Utils.MARGIN));
 		add(header, BorderLayout.NORTH);
 		add(centerPanel, BorderLayout.CENTER);
 		add(controls, BorderLayout.SOUTH);

--
Gitblit v1.9.1