mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ImageEditor: remove border around scroll pane view
This commit is contained in:
@@ -136,7 +136,7 @@ final class ImageEditorUI extends JPanel implements DataProvider, CopyProvider,
|
||||
view.addMouseListener(new EditorMouseAdapter());
|
||||
view.addMouseListener(new FocusRequester());
|
||||
|
||||
myScrollPane = ScrollPaneFactory.createScrollPane(view);
|
||||
myScrollPane = ScrollPaneFactory.createScrollPane(view, true);
|
||||
myScrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
|
||||
myScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user