changeset 1697:e0abb4b9d652

RT-24499: [TitledPane, Accordion] graphicTextGap does not work.
author Kinsley Wong
date Tue, 28 Aug 2012 12:08:50 -0700
parents c3d496ae74df
children 7a0b0ca81d0b
files javafx-ui-controls/src/com/sun/javafx/scene/control/skin/TitledPaneSkin.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/TitledPaneSkin.java	Tue Aug 28 16:50:55 2012 +0100
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/TitledPaneSkin.java	Tue Aug 28 12:08:50 2012 -0700
@@ -133,6 +133,8 @@
             clipRect.setWidth(getWidth());
         } else if ("HEIGHT".equals(property)) {
             clipRect.setHeight(getHeight());
+        } else if ("GRAPHIC_TEXT_GAP".equals(property)) {
+            titleRegion.requestLayout();            
         }
     }