code: def init_layout(self):
          
          for child in self.children():
              self.child_added(child)
          self.update_shape({})
docs: Initialize the layout of the toolkit shape.
  
          This method is called during the bottom-up pass. This method
          should initialize the layout of the widget. The child widgets
          will be fully initialized and layed out when this is called.