#395 11.1.28 - applet resizing problem

closed-out-of-date
nobody
None
5
2007-06-03
2007-04-26
Rolf Huehne
No

If the applet is resized for example with 'document.getElementById("jmolApplet0").style.width = 1600' and 'document.getElementById("jmolApplet0").style.height = 1600' and then resized back to the original size (600x600), the second resize is not fully recognized internally. The applet is resized but the model shown is not adapted automatically to the new size. And if an image is requested with the function "jmolGetPropertyAsString("image")" it still has 1600x1600 pixels.

This problem is demonstrated at the following URL: http://www.fli-leibniz.de/cgi-bin/3d_mapping-resize.pl?CODE=1deh&JMOLVERSION=11.1.28

After loading the page first resize the graphics window to 1600x1600 pixel, then resize it to 600x600 pixel and generate a snapshot with the "snapshot" button.

It seems to work properly if the second resize is not to the initial size.

Discussion

  • Bob Hanson

    Bob Hanson - 2007-06-03
    • status: open --> closed-out-of-date
     
  • Bob Hanson

    Bob Hanson - 2007-06-03

    Logged In: YES
    user_id=1082841
    Originator: NO

    duplicate

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks