The goal of this exercise is to have the Child frame resize in response to the size of its Parent frame. When we resize the Parent frame, the Child frame's width remains fixed by default. Give it a Fill color of white, and transform it to Auto layout.Now, pick again the frame tool and draw a new frame within our Parent Frame with the dimensions of 800W 1000H.Set the Width to Fixed width and Height to Fixed height.Next, head to the Resizing section under the Auto layout panel. Select the Alignment and padding icon in the right corner of the Auto layout section and set it to center.Next, head to the Auto layout section in the right-hand sidebar.Change the frame's color from the default white to the following color: #B8B8B8.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |