From: David ‘Bombe’ Roden Date: Sat, 26 Apr 2008 03:56:57 +0000 (+0000) Subject: center license header X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1c0142d20a4378a0225f685d91af335bfae50b37;p=jSite2.git center license header git-svn-id: http://trooper/svn/projects/jSite/trunk@766 c3eda9e8-030b-0410-8277-bc7414b0a119 --- 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();