• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 3323
86
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic