Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update the logo text path values with closer match to original

  • Loading branch information...
commit 6798c5aef9dd3bc3bffc8d578ff5abda654bfa0e 2 parents 453a47f + a28bc17
@Dierk Dierk authored
View
13 Groovyfx.iml
@@ -11,6 +11,17 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="groovy-1.8.4" level="application" />
+ <orderEntry type="module-library" exported="">
+ <library>
+ <CLASSES>
+ <root url="jar://$JAVAFX_HOME$/rt/lib/jfxrt.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES>
+ <root url="jar://$JAVAFX_HOME$/src.zip!/src" />
+ </SOURCES>
+ </library>
+ </orderEntry>
<orderEntry type="module-library" scope="RUNTIME">
<library>
<CLASSES>
@@ -20,7 +31,7 @@
<SOURCES />
</library>
</orderEntry>
- <orderEntry type="library" name="JavaFX-2.1.0-beta-b15" level="application" />
+ <orderEntry type="library" name="groovy-1.8.4" level="application" />
</component>
</module>
View
14 groovyfx/src/demo/groovy/GridPaneDemo.groovy
@@ -15,20 +15,16 @@
*/
import static groovyx.javafx.GroovyFX.start
-import javafx.scene.layout.GridPane
start {
- stage(title: "GroovyFX GridPane Demo", width: 400, height: 500, visible: true) {
- scene {
- gridPane(hgap: 5, vgap: 10, padding: 25, alignment: "top_center",
- style: "-fx-background-color: groovyblue") {
+ stage(title: "GridPane Demo", width: 400, height: 500, visible: true) {
+ scene(fill: groovyblue) {
+ gridPane(hgap: 5, vgap: 10, padding: 25, alignment: "top_center") {
columnConstraints(minWidth: 50, halignment: "right")
columnConstraints(prefWidth: 250, hgrow: 'always')
- effect innerShadow()
-
- label("Please Send Us Your Feedback", style: "-fx-font-size: 18px;", row: 0, textFill: white,
- columnSpan: GridPane.REMAINING, halignment: "center", margin: [0, 0, 10]) {
+ label("Please Send Us Your Feedback", style: "-fx-font-size: 18px;", textFill: white,
+ row: 0, columnSpan: 2, halignment: "center", margin: [0, 0, 10]) {
onMouseEntered { e -> e.source.parent.gridLinesVisible = true }
onMouseExited { e -> e.source.parent.gridLinesVisible = false }
}
View
2  groovyfx/src/demo/groovy/LogoDemo.groovy
@@ -29,7 +29,7 @@ start {
stage title: "GroovyFX Logo", x: 10, y: 10, visible: true, {
scene {
stackPane {
- circle x: 0, y: 0, width: 120, height: 120, opacity: 0d
+ rectangle x: 0, y: 0, width: 120, height: 120, opacity: 0d
borderPane id: 'parent', {
group id: 'logo', {
transitions = parallelTransition()
View
1  groovyfx/src/main/groovy/groovyx/javafx/factory/SceneFactory.groovy
@@ -25,6 +25,7 @@ import javafx.scene.Node
import javafx.scene.Scene
import javafx.scene.NodeBuilder
+import org.codehaus.groovy.runtime.InvokerHelper
/**
*
Please sign in to comment.
Something went wrong with that request. Please try again.