.. | .. |
---|
1189 | 1189 | timelinePanel = new JPanel(new BorderLayout()); |
---|
1190 | 1190 | timelineMenubar = new timeflow.app.TimeflowApp().TimeFlowWindow(timelinePanel); |
---|
1191 | 1191 | |
---|
| 1192 | + cameraPanel = new JSplitPane(JSplitPane.VERTICAL_SPLIT, cameraView, timelinePanel); |
---|
| 1193 | + cameraPanel.setContinuousLayout(true); |
---|
| 1194 | + cameraPanel.setOneTouchExpandable(true); |
---|
| 1195 | +// cameraPanel.setDividerLocation(0.9); |
---|
| 1196 | +// cameraPanel.setDividerSize(9); |
---|
| 1197 | + cameraPanel.setResizeWeight(1.0); |
---|
| 1198 | + |
---|
1192 | 1199 | centralPanel.add(cameraView); |
---|
1193 | 1200 | //frame.setJMenuBar(timelineMenubar); |
---|
1194 | 1201 | //centralPanel.add(timelinePanel); |
---|
.. | .. |
---|
2996 | 3003 | if (timeline) |
---|
2997 | 3004 | { |
---|
2998 | 3005 | centralPanel.remove(cameraView); |
---|
2999 | | - centralPanel.add(timelinePanel); |
---|
| 3006 | + cameraPanel.add(cameraView); |
---|
| 3007 | + centralPanel.add(cameraPanel); |
---|
3000 | 3008 | frame.setJMenuBar(timelineMenubar); |
---|
3001 | 3009 | wasFullScreen = CameraPane.FULLSCREEN; |
---|
3002 | 3010 | if (!CameraPane.FULLSCREEN) |
---|
.. | .. |
---|
3005 | 3013 | } |
---|
3006 | 3014 | else |
---|
3007 | 3015 | { |
---|
3008 | | - centralPanel.remove(timelinePanel); |
---|
| 3016 | + centralPanel.remove(cameraPanel); |
---|
3009 | 3017 | centralPanel.add(cameraView); |
---|
3010 | 3018 | frame.setJMenuBar(null); |
---|
3011 | 3019 | if (!wasFullScreen) |
---|
.. | .. |
---|
4533 | 4541 | JPanel bigThree; |
---|
4534 | 4542 | JTabbedPane scenePanel; |
---|
4535 | 4543 | JPanel centralPanel; |
---|
| 4544 | + JSplitPane cameraPanel; |
---|
4536 | 4545 | JPanel timelinePanel; |
---|
4537 | 4546 | JMenuBar timelineMenubar; |
---|
4538 | 4547 | JSplitPane framePanel; |
---|