## MenuStyle : setItemsSpacing or setItemsVSpacing

MenuStyle.setItemsSpacing or setItemsVSpacing: Number of pixels between items of Menus (vertical dimension).

### Syntaxes

MenuStyle. setItemsSpacing(number)

### Parameters

number

Integer.

### Comment

If the itemsSpacing is set to 0 and the width of borders of items is set to a value different from 0 the border between 2 items will be made of 2 borders and will give the appearance of a border with a double width. If you want to avoid that you can set the itemsSpacing value to the negative value of borders width in order each item recovers the bottom border of the previous one.

The setItemsVSpacing is also allowed in order the MenuStyle has the same syntax for vertical spacing as the BarStyle