Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;

Expand Down Expand Up @@ -88,8 +89,13 @@ public ChooseFoundingFatherDialog(FreeColClient freeColClient, JFrame frame,
tb.setSelectedIndex(0);

JPanel panel = new MigPanel(new MigLayout("wrap 1", "align center"));
panel.add(Utility.localizedHeader("chooseFoundingFatherDialog.title",
Utility.FONTSPEC_TITLE));
JLabel title = Utility.localizedHeader("chooseFoundingFatherDialog.title",
Utility.FONTSPEC_TITLE);
if (title.getPreferredSize().getWidth() < 425) {
panel.add(title, "width 425");
} else {
panel.add(title);
}
panel.add(helpButton, "tag help");
panel.add(tb, "width 100%");

Expand Down