uiTable.repositionNow = true;
//get all children and set to pixel perfect position.
Transform[] allChildrenInContainer = GetComponentsInChildren<Transform>();
foreach (Transform child in allChildrenInContainer) {
child
.localPosition = new Vector3
(Mathf
.RoundToInt(child
.localPosition.x),
Mathf.RoundToInt(child.localPosition.y)+0.5f,
Mathf.RoundToInt(child.localPosition.z));
//NGUITools.MakePixelPerfect(child); same problem as above when trying this.
}