Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph')
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph30
1 files changed, 30 insertions, 0 deletions
diff --git a/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph
new file mode 100755
index 000000000..3b55eb271
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.fxgraph/src/org/eclipse/fx/testcases/fxgraph/StaticProperties.fxgraph
@@ -0,0 +1,30 @@
+package org.eclipse.fx.testcases.fxgraph
+
+import javafx.scene.layout.*
+import javafx.scene.control.Label
+import javafx.scene.control.TextField
+
+component StaticProperties {
+ GridPane {
+ children: [
+ Label {
+ text: "Firstname:",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 0
+ },
+ TextField {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 0
+ },
+ Label {
+ text: "Lastname:",
+ call GridPane#columnIndex: 0,
+ call GridPane#rowIndex: 1
+ },
+ TextField {
+ call GridPane#columnIndex: 1,
+ call GridPane#rowIndex: 1
+ }
+ ]
+ }
+} \ No newline at end of file

Back to the top