![]() |
|
#1
|
|||
|
|||
You can use the viz.MainWindow.setSize() command to adjust the size of the main viewport. For example, the following code will set the viewport to span half the width of the output window:
Code:
viz.MainWindow.setSize([0.5,1.0]) |
#2
|
|||
|
|||
Thank you, that works. However, I wanted to specify the viewport in pixels directly, and I found an error in the manual.
The callsyntax of the setSize function is either setSize([width,height]), or setSize(width,height,flag), not setSize([width,height],flag). Took me a while to figure that out, didn't expect the doc to be wrong. All works now. Best, Dee |
#3
|
|||
|
|||
Same issue
This is likely a very common issue. I'm taking the approach of using a triple head to go box. It's not ideal, for the reason that I am trying to get system latency as low as possible, and I'm not sure how it may contribute.
|
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|