< prev index next >
modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/MonocleWindow.java
Print this page
*** 110,120 ****
}
if (h > 0) {
//window height surpass window content height(ch)
height = h;
! } else if (cw > 0) {
//content height changed
height = ch;
} else {
//no explicit request to change height, get default
height = getHeight();
--- 110,120 ----
}
if (h > 0) {
//window height surpass window content height(ch)
height = h;
! } else if (ch > 0) {
//content height changed
height = ch;
} else {
//no explicit request to change height, get default
height = getHeight();
< prev index next >