💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
HtmlDialog position
-
In a dual monitor config, how can I check in which monitor SU is running, so I can locate correctly a HTMLDialog?
For example, immagine the following config:
MONITOR 1 on right
MONITOR 2 on left (where SU is running)and the following code
dialog = UI;;HtmlDialog.new({ ;dialog_title => "MyWindow", ;scrollable => true, ;resizable => true, ;width => 300, ;height => 250, ;left => 0, ;top =>0, ;style => UI;;HtmlDialog;;STYLE_UTILITY })
The dialog will apper outside from SU, in the MONITOR 1 instead of MONITOR 2 where is SU.
Advertisement