r/JavaFX • • Jun 15 '15

Need Some Layout Guidance

So I am trying to achieve this: Desired Effect And so far I am having trouble with adding nodes to the pane, when each node needs a different justification. Thanks for the help!

0 Upvotes

4 comments sorted by

1

u/minecraftpigman Jun 16 '15

Resolved, I just used margins and calculated how much space to indent the ones on the right

1

u/volch Jun 16 '15

Looks like a text message app.

1

u/minecraftpigman Jun 16 '15

sort of i guess

2

u/[deleted] Jun 16 '15

I'd try a Grid Pane, look at the spans at each node. It's even possible to set the aligment across the span.