Questions tagged [flowpane]

FlowPane lays out its children in a flow that wraps at the flowpane's boundary.

A horizontal flowpane (the default) will layout nodes in rows, wrapping at the flowpane's width. A vertical flowpane lays out nodes in columns, wrapping at the flowpane's height. If the flowpane has a border and/or padding set, the content will be flowed within those insets.

http://docs.oracle.com/javafx/2/api/javafx/scene/layout/FlowPane.html

23 questions
0
votes
1 answer

why it doesn't add image to flow pane?

i have the blow code the it doesn't work i can't understand what's matter? FlowPane flowPane = new FlowPane(); System.out.println("log:brows song"); for (int i = 0; i < 10; i++) { Image image = new Image(new…
0
votes
0 answers

JavaFX - Prevent FlowPane from growing horizontally in VBox

How can I prevent the FlowPane layout from growing? My FlowPane layout is inside a VBox, which has a max width and wraps its content automatically when needed (works with TextFlow and HBox), except with FlowPane. So my problem is that my FlowPane…
Rouman
  • 127
  • 2
  • 14
0
votes
1 answer

Printing SplitPanes within a FlowPane prints from the second page half page down

Within a flowpane I have several splitpanes and hand over the splitpanes as node to the print function. The first splitpane is printed on the A4 side up, any more splitpane on the following pages by approximately half a page later. Note: the…
0
votes
1 answer

Adjustment of contents in FlowPane

I have a flowpane in center and i applied a slider effect which gets invoke on a click of button on the right (so slider moves from right to left when expanded). I have followed JewelSea slider tutorial mentioned here Slider Now i have two different…
Gautam
  • 3,252
  • 3
  • 23
  • 32
0
votes
2 answers

How to convert 'javafx.scene.image.Image@1a3d58b' to a normal file path

I have images listed in a TilePane, each, when clicked, should print out its file path. I however, get something like: javafx.scene.image.Image@1a3d58b How can I get the path to print out in a normal format, something like D:\Xampp\ Thank…
0
votes
2 answers

How to add action listeners to individual elements in a Tile Pane

Is it possible to add action listeners to the indiviadual elements in a Tile or Flow Pane? For example, in the example below, if a user clicked on an image, the the system would print out the location/ file path. Thank You All. public class…
0
votes
1 answer

FlowPane height change measurements

I have a Stage as a form with a FlowPane. I just add Strings to the FlowPane. The main target with the flowpane is to create a "Tag" like control. This Tagcontrol is in the middle of the form. Without or only one/two items the FlowPane should only…
tonimaroni
  • 1,062
  • 10
  • 19
-3
votes
1 answer

javafx is there a css equivalent for flowpane's columnHalignment?

I'd like to put this parameter in my css, is it possible? something like: -fx-column-h-alignment: right; or -fx-column-horizonal-alignment: right; or -fx-columnHalignment: right;
steve m
  • 31
  • 1
1
2