changeset 7796:8889a4892b7d

[SCENEBUILDER] Fix for DTL-6830 Auto Suggest Popup has changed appearance
author mchicharro
date Tue, 26 Aug 2014 18:29:47 +0100
parents 69f0c8731747
children 6a782ee05c58
files apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DoubleAutoSuggestEditor.fxml apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerAutoSuggestEditor.fxml apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StringAutoSuggestEditor.fxml
diffstat 3 files changed, 18 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DoubleAutoSuggestEditor.fxml	Tue Aug 26 16:50:02 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DoubleAutoSuggestEditor.fxml	Tue Aug 26 18:29:47 2014 +0100
@@ -43,7 +43,7 @@
 <children>
     <DoubleField fx:id="doubleField" onKeyReleased="#textFieldKeyReleased" onMouseClicked="#textFieldMouseClicked">
       <contextMenu>
-        <ContextMenu maxHeight="-1.0" styleClass="auto-suggest-popup">
+        <ContextMenu maxHeight="-1.0">
           <items>
             <CustomMenuItem mnemonicParsing="false">
               <content>
@@ -51,6 +51,11 @@
               </content>
             </CustomMenuItem>
           </items>
+               <styleClass>
+                  <String fx:value="theme-presets" />
+                  <String fx:value="property-sheet" />
+                  <String fx:value="auto-suggest-popup" />
+               </styleClass>
         </ContextMenu>
       </contextMenu>
 <HBox.margin>
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerAutoSuggestEditor.fxml	Tue Aug 26 16:50:02 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/IntegerAutoSuggestEditor.fxml	Tue Aug 26 18:29:47 2014 +0100
@@ -43,7 +43,7 @@
 <children>
     <IntegerField fx:id="integerField" onKeyReleased="#textFieldKeyReleased" onMouseClicked="#textFieldMouseClicked">
       <contextMenu>
-        <ContextMenu maxHeight="-1.0" styleClass="auto-suggest-popup">
+        <ContextMenu maxHeight="-1.0">
           <items>
             <CustomMenuItem mnemonicParsing="false">
               <content>
@@ -51,6 +51,11 @@
               </content>
             </CustomMenuItem>
           </items>
+               <styleClass>
+                  <String fx:value="theme-presets" />
+                  <String fx:value="property-sheet" />
+                  <String fx:value="auto-suggest-popup" />
+               </styleClass>
         </ContextMenu>
       </contextMenu>
 <HBox.margin>
--- a/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StringAutoSuggestEditor.fxml	Tue Aug 26 16:50:02 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/StringAutoSuggestEditor.fxml	Tue Aug 26 18:29:47 2014 +0100
@@ -42,7 +42,7 @@
 <children>
     <TextField fx:id="textField" onKeyReleased="#textFieldKeyReleased" onMouseClicked="#textFieldMouseClicked" prefWidth="-1.0">
       <contextMenu>
-        <ContextMenu maxHeight="-1.0" styleClass="auto-suggest-popup">
+        <ContextMenu maxHeight="-1.0">
           <items>
             <CustomMenuItem mnemonicParsing="false">
               <content>
@@ -50,6 +50,11 @@
               </content>
             </CustomMenuItem>
           </items>
+               <styleClass>
+                  <String fx:value="theme-presets" />
+                  <String fx:value="property-sheet" />
+                  <String fx:value="auto-suggest-popup" />
+               </styleClass>
         </ContextMenu>
       </contextMenu>
 <HBox.margin>