changeset 4862:3f656fbd508f

RT-31901 - Regression: scrollbar issue with TitledPane
author mickf
date Mon, 02 Sep 2013 13:44:19 +0100
parents 18a02cf34ddf
children cb91a18c5738
files modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollPaneSkin.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollPaneSkin.java	Mon Sep 02 13:14:41 2013 +0100
+++ b/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ScrollPaneSkin.java	Mon Sep 02 13:44:19 2013 +0100
@@ -256,6 +256,8 @@
                 // if scrollNode requested layout, will want to recompute
                 nodeWidth = -1;
                 nodeHeight = -1;
+                updateVerticalSB();
+                updateHorizontalSB();
                 super.requestLayout(); // add as layout root for next layout pass
             }
             @Override protected void layoutChildren() {