diff options
author | James Moger <james.moger@gitblit.com> | 2011-11-10 08:10:19 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-11-10 08:10:19 -0500 |
commit | a568f2ac97f4c7b73ee0cdf2007f553bb8c81c2c (patch) | |
tree | 543e4612e26e0bfbff3ae1120beaa7d7badcd42b /src/com/gitblit/client/StatusPanel.java | |
parent | c7a721aad7c23640d59ad682854e066f4538436c (diff) | |
download | gitblit-a568f2ac97f4c7b73ee0cdf2007f553bb8c81c2c.tar.gz gitblit-a568f2ac97f4c7b73ee0cdf2007f553bb8c81c2c.zip |
Refresh log on display. Adjusted spacing of status panel.
Diffstat (limited to 'src/com/gitblit/client/StatusPanel.java')
-rw-r--r-- | 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 669aa47a..f22d69c8 100644 --- a/src/com/gitblit/client/StatusPanel.java +++ b/src/com/gitblit/client/StatusPanel.java @@ -106,15 +106,15 @@ public class StatusPanel extends JPanel { 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);
|