private void PlaceView(int i, float pos, float size)
{
float y = Mathf.Round(pos);
if (this.vertical)
{
base.children[i].position = new Rect(0f, y, base.position.width, Mathf.Round(pos + size) - y);
}
else
{
base.children[i].position = new Rect(y, 0f, Mathf.Round(pos + size) - y, base.position.height);
}
}