Skip to content

Commit

Permalink
Merge branch 'SlimeVR:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Erimelowo authored Mar 13, 2022
2 parents d6ab811 + 9fa6722 commit f8b7be8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/dev/slimevr/gui/VRServerGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ public VRServerGUI(VRServer server) {

this.poseStreamer = new ServerPoseStreamer(server);

add(new JScrollPane(pane = new EJBox(PAGE_AXIS), ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED));
JScrollPane scrollPane = (JScrollPane) add(new JScrollPane(pane = new EJBox(PAGE_AXIS), ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED));
scrollPane.getVerticalScrollBar().setUnitIncrement(16);

GraphicsConfiguration gc = getGraphicsConfiguration();
Rectangle screenBounds = gc.getBounds();
setMinimumSize(new Dimension(100, 100));
Expand Down

0 comments on commit f8b7be8

Please sign in to comment.