Fill into Sheep

0 views
Skip to first unread message

diego...@gmail.com

unread,
Mar 13, 2009, 7:07:53 AM3/13/09
to JDLayout Users
in v 2.2 you can set fill and stroke color in Item


Item{
valign:"middle"
halign:"center"
fill: javafx.scene.paint.LinearGradient {
startX: 0.0, startY: 0.0, endX: 1.0, endY: 0.0,
proportional: true

stops: [
javafx.scene.paint.Stop {offset: 0.0 color:
javafx.scene.paint.Color.WHITE},
javafx.scene.paint.Stop {offset: 1.0 color:
javafx.scene.paint.Color.LIGHTGRAY}
]
}
item:
javafx.ext.swing.SwingLabel {
text: "W 150px - H 50px"
}
}
,

Item{
valign:"middle"
halign:"center"
fill: javafx.scene.paint.Color.YELLOW
item:
javafx.ext.swing.SwingLabel {
text: "W 150px - H 50px"
}
}
Reply all
Reply to author
Forward
0 new messages