'Update layout spacing.'

def update_grid_spacing(self):

    if self.scene.widget:
        layout = self.scene.widget.layout()
        layout.setSpacing(self.SpaceX)
        self.__fixup_grid_layout()
