How to display add-on dynamic content on full page?

I am creating an atlassian connect spring-boot add-on to display some data. I am able to fetch the data. But the content is not displayed on the whole page instead it is only taking a part of the page.

What should be done to display content to the whole page?

If you will use AUI library then check page layouts section, there are some examples you can use. Basically you just need to use proper markup, since frame is auto sizing based on your content.