< prev index next >

modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/MonocleWindow.java

Print this page

        

@@ -110,11 +110,11 @@
         }
 
         if (h > 0) {
             //window height surpass window content height(ch)
             height = h;
-        } else if (cw > 0) {
+        } else if (ch > 0) {
             //content height changed
             height = ch;
         } else {
             //no explicit request to change height, get default
             height = getHeight();
< prev index next >