JChemPaint / jchempaint

Chemical 2D structure editor application/applet based on the Chemistry Development Kit
http://jchempaint.github.com
110 stars 34 forks source link

option set fit to screen should be default ON #172

Open rwst opened 11 years ago

rwst commented 11 years ago

however see this code in JCPAApplet.java

    // the newly opened file should nicely fit the screen
    theJcpp.getRenderPanel().setFitToScreen(true);
    theJcpp.getRenderPanel().update(theJcpp.getRenderPanel().getGraphics());
    // ..enable zooming by removing constraint again
    theJcpp.getRenderPanel().setFitToScreen(false);