center license header
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 26 Apr 2008 03:56:57 +0000 (03:56 +0000)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 26 Apr 2008 03:56:57 +0000 (03:56 +0000)
git-svn-id: http://trooper/svn/projects/jSite/trunk@766 c3eda9e8-030b-0410-8277-bc7414b0a119

src/net/pterodactylus/jsite/gui/AboutDialog.java

index abfa166..a8ae223 100644 (file)
@@ -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();