7 override protected void UpdateChild(
Widget child,
float w,
float h,
int index)
9 float itemWidth = w - (2 * border);
10 float itemHeight = (h - (border * 2) - ((m_count - 1) * gap)) / m_count;
12 child.SetPos(border, border + ((itemHeight + gap) * index));
13 child.SetSize(itemWidth, itemHeight);