Skip to content

Commit

Permalink
setUnitIncrement of "schema" scrollpane
Browse files Browse the repository at this point in the history
  • Loading branch information
Wisser committed Aug 8, 2023
1 parent 497881b commit c283573
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/gui/net/sf/jailer/ui/StringSearchPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,13 @@ public StringSearchPanel(JToggleButton button, javax.swing.JComboBox combobox, M
this.renderConsumer = renderConsumer;
initComponents();

if (jScrollPane2.getHorizontalScrollBar() != null) {
jScrollPane2.getHorizontalScrollBar().setUnitIncrement(16);
}
if (jScrollPane2.getVerticalScrollBar() != null) {
jScrollPane2.getVerticalScrollBar().setUnitIncrement(16);
}

MovePanel comp = new MovePanel();
GridBagConstraints gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
Expand Down

0 comments on commit c283573

Please sign in to comment.