Create designs that resize as you rearrange grouped elements and add new content. In this tutorial, learn how to create a marketing banner using padding and Stacks. See how to draw a banner using the Rectangle tool, round its corners and align it. Update attributes in the Properties Inspector to flip the banner horizontally, adjust colour, width, opacity settings and add a drop shadow to a border. Bring in Adobe Stock images to add beautiful graphics. Design buttons and add text with the Text tool, then apply styles. Learn two ways to create a new component in the Properties Inspector and in the Libraries panel. Use the Properties Inspector to create new states and enable padding. Then, experiment by editing button labels and using different alignment settings to see how Adobe XD preserves the spacing between elements. When you edit the grouped content in a Stack with padding enabled, the content resizes automatically as you work.