Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option set fit to screen should be default ON #172

Open
rwst opened this issue Nov 14, 2012 · 0 comments
Open

option set fit to screen should be default ON #172

rwst opened this issue Nov 14, 2012 · 0 comments

Comments

@rwst
Copy link
Contributor

rwst commented Nov 14, 2012

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant