JgoPallette irregular spacing

I am loading a JgoPalette by creating nodes and addingobject at tail. Every thing works great except the spacing between the nodes is irregular. I am using the horizontal orientation. ANy thoughts or suggestions. I have tried layoutitems but that does nothing.

The JGoPaletteā€™s grid determines the spacing of the items. Have you tried setting the grid properties, for example setGridHeight, setGridWidth, and setGridSpot?