summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jrummikub/view/impl/SettingsPanel.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jrummikub/view/impl/SettingsPanel.java b/src/jrummikub/view/impl/SettingsPanel.java
index 9536838..a509e8b 100644
--- a/src/jrummikub/view/impl/SettingsPanel.java
+++ b/src/jrummikub/view/impl/SettingsPanel.java
@@ -463,7 +463,10 @@ class SettingsPanel extends JPanel implements ISettingsPanel {
tabbedPane.addTab("Spieler", playerSetupPanel);
createOptionsPanel();
- tabbedPane.addTab("Optionen", optionsPanel);
+ JScrollPane scrollPane = new JScrollPane(optionsPanel,
+ JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
+ JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
+ tabbedPane.addTab("Optionen", scrollPane);
GridBagConstraints c = new GridBagConstraints();
c.fill = GridBagConstraints.BOTH;