Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with GridPane

 
fadi aboona
Ranch Hand
Posts: 71
  • 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
[Thumbnail for Screen Shot 2012-05-13 at 12.45.23 AM.png]
screen shot of JavaFx Application
 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • 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
  • 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
  • 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
[Thumbnail for Screen Shot 2012-05-13 at 9.07.29 AM.png]
working application
 
fadi aboona
Ranch Hand
Posts: 71
  • 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic