Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
separator
Browse files Browse the repository at this point in the history
  • Loading branch information
Enaium committed Sep 19, 2022
1 parent 2e0393f commit ff1665f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/cn/enaium/joe/dialog/AboutDialog.java
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@
public class AboutDialog extends Dialog {
public AboutDialog() {
super(LangUtil.i18n("menu.help.about"));
setContentPane(new JPanel(new MigLayout()) {{
setContentPane(new JPanel(new MigLayout("fillx", "[fill][fill]")) {{
setBorder(new EmptyBorder(10, 10, 10, 10));
add(new JLabel(LangUtil.i18n("about.system")), "wrap");
add(new JLabel(LangUtil.i18n("about.system.description")), "wrap");
@@ -40,7 +40,8 @@ public AboutDialog() {
add(new JLabel(LangUtil.i18n("about.system.architecture")));
add(new JLabel(System.getProperty("os.arch")), "wrap");

add(new JSeparator(), "wrap");
add(new JSeparator(), "span 2");
add(new JLabel(), "wrap");

add(new JLabel(LangUtil.i18n("about.java")), "wrap");
add(new JLabel(LangUtil.i18n("about.java.description")), "wrap");

0 comments on commit ff1665f

Please sign in to comment.