CellRenderer.setAlignment

void setAlignment(float xalign, float yalign)

Sets the renderer’s alignment within its available space.

Parameters

xalignthe x alignment of the cell renderer
yalignthe y alignment of the cell renderer