Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Help with GridPane

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic