Procedure:
How to Enable Autosize for an Existing HTML File
Open the HTML file.
The HTML canvas opens.
In the Properties panel, set the Autosize Children property to
Yes
.
Using the drop-down list at the top of the Properties panel, select a component. Change the Autosize options property to
Accept any changes
.
Repeat step 3 for each component on the page that you want to resize automatically.
Right-click the HTML canvas and click
Update Layout
.
The components are resized to occupy all of the space on the canvas.