• Post Reply Bookmark Topic Watch Topic
  • New Topic

What exactly is the Vgap and Hgap in JavaFX? (simple explanation please)  RSS feed

 
Christian Antfeld
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am learning the JavaFX UI stuff right now and I am not seeing what the Hgap and Vgap are used for.  I do not need an in depth explanation. I prefer to put the pieces together on my own really.  Sorry if this is coming across as rude but when things are just handed to me I do not learn as well as when I have to think about how things fit together.

Thank you for reading and for any help I might receive.
 
Tony Docherty
Bartender
Posts: 3271
82
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't give a definitive answer because I don't use JavaFX but in all the languages I've used which support GUI's, Hgap and Vgap stand for "Horizontal Gap" and "Vertical Gap" respectively and are used to provide horizontal and vertical space between adjacent components.
 
Christian Antfeld
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!  I don't see how I couldn't figure that out myself based on context.  You are right on the money too (an infograph describing the concept was just under where I was reading on the Oracle site).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!