X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fgui%2FAboutDialog.java;h=a8ae2239429c1778a3eec5369a4090022d069bca;hb=80e93840dac03f7775bdf3053e04639e45cfcf91;hp=abfa166ed4ca9b35caa9142f4b03b143e6c2da4a;hpb=b05d1a5dbe9d88511c5ca64af179a4df985156ff;p=jSite2.git 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();