Reduces the spacing above the ok button.

This commit is contained in:
Stian Grenborgen 2023-06-11 11:14:52 +02:00
parent a97bb10117
commit ad6d09d4bf
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ public final class ColopediaPanel extends FreeColPanel
final JSplitPane splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, sl, detail);
add(splitPane, "grow");
add(okButton, "newline 20, span, tag ok");
add(okButton, "newline, span, tag ok");
setEscapeAction(new AbstractAction() {
@Override

View File

@ -75,7 +75,7 @@ public class ReportPanel extends FreeColPanel {
*/
protected ReportPanel(FreeColClient freeColClient, String key) {
super(freeColClient, "ReportPanelUI",
new MigLayout("wrap 1", "[fill]", "[]30[fill]30[]"));
new MigLayout("wrap 1", "[fill]", "[][fill][]"));
header = Utility.localizedHeader(Messages.nameKey(key),
Utility.FONTSPEC_TITLE);