Hello,
Is an event existing during re-sizing of main window Browser?
- I would like to adjust automaticaly the size for some plugins (like help window, logo...)
BR
JPhD
Hello,
Is an event existing during re-sizing of main window Browser?
- I would like to adjust automaticaly the size for some plugins (like help window, logo...)
BR
JPhD
Hi,
there is the onresize event:
https://krpano.com/docu/xml/#events.onresize
and you can use percent values for width/height/x/y for automatic scaling,
best regards,
Klaus
Hi,
there is the onresize event:
https://krpano.com/docu/xml/#events.onresizeand you can use percent values for width/height/x/y for automatic scaling,
best regards,
Klaus
I'm so confused... in the same time i found the answer... and it's running well (of course!!!)
Many thanks Klaus
So
stagewidth, stageheight are readonly,
But is-it possible to fix the size of browser (in fact the radio) by action script (like 4/3, 16/9) in case of browser resizing?
Hi,
the browser size itself can't be affected in any way,
but it's possible to set/calculate the area of the pano with a fixed aspect size,
please have a look at the fix-aspect or fovtype example from the
viewer download package,
best regards,
Klaus
Thanks a lot Klaus,
I study and try tomorrow.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!