Skip to content

Commit b7e3a92

Browse files
Josh Willisjoshuarwillis
authored andcommitted
Remove scroll pane from clipping data source text field
Previously, the horizontal scroll pane blocked the user-selected clipping file path if the path was long. This fix removes JScrollPane since JTextField handles scrolling internally.
1 parent 3d3f856 commit b7e3a92

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

vortex-ui/src/main/java/mil/army/usace/hec/vortex/ui/ImportMetWizard.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -674,10 +674,7 @@ private JPanel dataSourceSectionPanel() {
674674

675675
dataSourceTextField = new JTextField();
676676
dataSourceTextField.setFont(addFilesList.getFont());
677-
dataSourceTextField.setColumns(0);
678-
dataSourceTextField.setBorder(null);
679-
JScrollPane layerPanel = new JScrollPane(dataSourceTextField);
680-
dataSourceTextFieldPanel.add(layerPanel);
677+
dataSourceTextFieldPanel.add(dataSourceTextField);
681678

682679
dataSourceTextFieldPanel.add(Box.createRigidArea(new Dimension(8,0)));
683680

0 commit comments

Comments
 (0)