You’ve replaced the pre-populated root component of the tree, which is sized 100% width and height to fill space, with your own component, which has the default size of 100x100. Set the size of the root component to 100% width and height to correct. This is not necessary for any subcomponents.