// use out layoutManager to layout our children
layoutManager.layoutElements(layoutPart, layoutPartChild);
if (attachedInputControl != null) {
NiftyControl niftyControl = attachedInputControl.getNiftyControl(NiftyControl.class);
if (niftyControl != null) {
if (niftyControl.isBound()) {
niftyControl.layoutCallback();
}
}
}
// repeat this step for all child elements