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();