7 override protected void UpdateChild(
Widget child,
float w,
float h,
int index)
9 float itemWidth = (w - (Border * 2) - ((m_count - 1) * Gap)) / m_count;
10 float itemHeight = h - (2 * Border);
12 child.SetPos(Border + ((itemWidth + Gap) * index), Border);
13 child.SetSize(itemWidth, itemHeight);
15 if(child.GetChildren())
17 Widget c = child.GetChildren();