Commit 7e95758a authored by Skylot's avatar Skylot

fix(gui): add scroll to preferences dialog

parent d44dd0de
...@@ -104,7 +104,9 @@ public class JadxSettingsWindow extends JDialog { ...@@ -104,7 +104,9 @@ public class JadxSettingsWindow extends JDialog {
buttonPane.add(cancelButton); buttonPane.add(cancelButton);
Container contentPane = getContentPane(); Container contentPane = getContentPane();
contentPane.add(panel, BorderLayout.CENTER); JScrollPane scrollPane = new JScrollPane(panel);
scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
contentPane.add(scrollPane, BorderLayout.CENTER);
contentPane.add(buttonPane, BorderLayout.PAGE_END); contentPane.add(buttonPane, BorderLayout.PAGE_END);
getRootPane().setDefaultButton(saveBtn); getRootPane().setDefaultButton(saveBtn);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment