views:

1561

answers:

3

children inside hbox and vbox have spacing between them,

how do you remove this empty space

i need to have 0 space between child elements of a hbox or vbox

+7  A: 

Set the verticalGap/horizontalGap properties to 0.

Vinay Sajip
A: 

What if you have to have remove space only between two elements?

Alok
A: 

You should probably still set the horizontalGap to 0, and than add paddingLeft and paddingRight to all the elements that need spacing...

Ladislav