if (attachedInputControl != null) {
NiftyControl niftyControl = attachedInputControl.getNiftyControl(NiftyControl.class);
if (niftyControl != null) {
if (niftyControl.isBound()) {
niftyControl.layoutCallback();
}
}
}
// repeat this step for all child elements