File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with GridPane

 
fadi aboona
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
See attached photo. The TS and ATS labels are not in their proper position below Password!
I spent hours trying to figure this out, your help would ease up my suffering!
Here is the code:
Screen Shot 2012-05-13 at 12.45.23 AM.png
screen shot of JavaFx Application
[Thumbnail for Screen Shot 2012-05-13 at 12.45.23 AM.png]
 
Darryl Burke
Bartender
Posts: 5115
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fadi aboona wrote:The TS and ATS labels are not in their proper position below Password!

Huh? They are below Password.

I think you need to tell us where you thought that code should place them.

If you're referring to the vertical positioning, look into setting appropriate RowConstraints
 
fadi aboona
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:
fadi aboona wrote:The TS and ATS labels are not in their proper position below Password!

Huh? They are below Password.

I think you need to tell us where you thought that code should place them.

If you're referring to the vertical positioning, look into setting appropriate RowConstraints


i need them immediately below password with not that much spacing. I will look into RowConstraints, thanks.
 
fadi aboona
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fixed, what i did is, i made the ListView inside one row only then experimented with spanning multiple rows and it worked. Here is the new code in case someone struggles through this.

Screen Shot 2012-05-13 at 9.07.29 AM.png
working application
[Thumbnail for Screen Shot 2012-05-13 at 9.07.29 AM.png]
 
fadi aboona
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
update: i think the problem is more to do with this:


if you change it to:

It would show up nicely!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic