Added layout components to Widget.