The size of screens, widgets and basic elements can be set in the style inspector or style bar. The size can either be set manually or defined automatically. Width and height can be set separately. Three size modes exist in Antetype.






Manually

You can set the size of the element directly by resizing it on the canvas or enter the desired value in the style inspector.



Stretch

If set to stretch, the element automatically adapts to the available space of its parent container.



Shrink

If set to shrink, the element automatically adapts to the size of its content. This setting also respects the text of an element.



Minimum and Maximum

In addition, you can define a minimum and maximum size for any element.