From 1c0142d20a4378a0225f685d91af335bfae50b37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 26 Apr 2008 03:56:57 +0000 Subject: [PATCH] center license header git-svn-id: http://trooper/svn/projects/jSite/trunk@766 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/jsite/gui/AboutDialog.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/net/pterodactylus/jsite/gui/AboutDialog.java b/src/net/pterodactylus/jsite/gui/AboutDialog.java index abfa166..a8ae223 100644 --- a/src/net/pterodactylus/jsite/gui/AboutDialog.java +++ b/src/net/pterodactylus/jsite/gui/AboutDialog.java @@ -190,8 +190,11 @@ public class AboutDialog extends JDialog implements I18nable { JPanel licensePanel = new JPanel(new BorderLayout(12, 12)); licensePanel.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12)); + JPanel licenseHeaderPanel = new JPanel(new FlowLayout()); + licensePanel.add(licenseHeaderPanel, BorderLayout.PAGE_START); + licenseHeaderLabel = new I18nLabel("aboutDialog.page.license.header", Version.getVersion()); - licensePanel.add(licenseHeaderLabel, BorderLayout.PAGE_START); + licenseHeaderPanel.add(licenseHeaderLabel); licenseHeaderLabel.setAlignmentX(0.5f); String licenseText = loadLicenseText(); -- 2.7.4