changeset 7654:42903ea10084

RT-33696 RTL orientation, submenu overlaps its parent menu. Reviewed by: snorthov, kcr
author Martin Sladecek <martin.sladecek@oracle.com>
date Tue, 12 Aug 2014 10:00:41 +0200
parents 7ec4725320d0
children a7f7ec1bc33f
files modules/controls/src/main/java/javafx/scene/control/PopupControl.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/javafx/scene/control/PopupControl.java	Tue Aug 12 09:55:18 2014 +0200
+++ b/modules/controls/src/main/java/javafx/scene/control/PopupControl.java	Tue Aug 12 10:00:41 2014 +0200
@@ -39,10 +39,10 @@
 import javafx.collections.FXCollections;
 import javafx.collections.ObservableList;
 import javafx.collections.ObservableSet;
-import javafx.scene.Group;
 import javafx.scene.Node;
 import javafx.scene.Parent;
 import javafx.scene.Scene;
+import javafx.scene.layout.Pane;
 import javafx.stage.PopupWindow;
 import com.sun.javafx.application.PlatformImpl;
 import com.sun.javafx.css.CssError;
@@ -1108,7 +1108,7 @@
      *
      * @since JavaFX 2.1
      */
-    protected class CSSBridge extends Group {
+    protected class CSSBridge extends Pane {
 
         private final PopupControl popupControl = PopupControl.this;