# HG changeset patch # User innparusu # Date 1440511201 -32400 # Node ID bd74b2406775fafa7c89b3be72e2ffa84d054f89 # Parent 638b604aa508c90d205f5204c53257029aa7cacd Add zoom fit to client mode diff -r 638b604aa508 -r bd74b2406775 .idea/workspace.xml --- a/.idea/workspace.xml Tue Aug 25 18:04:01 2015 +0900 +++ b/.idea/workspace.xml Tue Aug 25 23:00:01 2015 +0900 @@ -2,8 +2,7 @@ - - + @@ -91,7 +90,7 @@ - + @@ -124,10 +123,10 @@ - + - + @@ -174,6 +173,16 @@ + + + + + + + + + + @@ -465,10 +474,10 @@ @@ -953,7 +962,7 @@ - + @@ -1475,19 +1484,6 @@ - - - - - - - - - - - - - @@ -1514,7 +1510,7 @@ - + @@ -1522,12 +1518,20 @@ - + + + + + + + + + diff -r 638b604aa508 -r bd74b2406775 src/viewer_swing/java/com/glavsoft/viewer/Viewer.java --- a/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java Tue Aug 25 18:04:01 2015 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java Tue Aug 25 23:00:01 2015 +0900 @@ -464,7 +464,7 @@ public void setFitScreen() { SwingViewerWindow v = connectionPresenter.getViewer(); if (v != null) { - v.fitScreen(); + v.zoomToFit(); } }