4 reference
bool AlignChilds;
5 reference
int MinHeight;
6 reference
int MaxHeight;
22 Widget child = m_root.GetChildren();
26 if ( !AlignChilds ) top = -100000;
31 m_root.GetScreenSize(rowWidth, height);
37 if (child.IsVisible() ==
false || child.GetName() ==
"SelectedContainer" || child.GetName() ==
"Icon")
40 child = child.GetSibling();
44 child.GetScreenSize(width, height);
54 if ( rowHeight > 0 ) top += Gap;
60 if (height > rowHeight) rowHeight = height;
62 child.SetPos(rowWidth - rowRight, top,
false);
63 rowRight -= width + Gap;
67 child.GetScreenPos(
x,
y);
72 child = child.GetSibling();
84 m_root.GetScreenPos(
x,
y);
89 m_root.GetSize(width, heightOld);
91 if (MaxHeight > 0 && height > MaxHeight)
96 if (MinHeight > height)
101 if (
Math.AbsInt(heightOld - height) > 1)
103 m_root.SetSize(width, height);
105 else if (AlignChilds)
113 void OnWidgetScriptInit(
Widget w)
116 m_root.SetHandler(
this);