static public Bounds CalculateRelativeWidgetBounds (Transform root, Transform child){
CalculateRelativeWidgetBounds(root, child, false);
}
static public Bounds CalculateRelativeWidgetBounds (Transform root, Transform child, bool includeInactive){
UIWidget[] widgets = child.GetComponentsInChildren<UIWidget>(includeInactive) as UIWidget[];
// The rest of the code of the function
}