Complete the code to set a frame's width to automatically adjust to its content size.
frame.resize({ width: '[1]' })Using hug makes the frame width adjust to fit its content.
Complete the code to make a child element stretch to fill its parent's width.
child.resize({ width: '[1]' })Using fill makes the child stretch to fill the parent's width.
Fix the error in the code to set a frame's height to a fixed value of 100 pixels.
frame.resize({ height: [1] })The height value should be a number without quotes to set fixed pixels.
Fill both blanks to set a frame's width to hug content and height to fixed 200 pixels.
frame.resize({ width: '[1]', height: [2] })Width uses 'hug' to fit content, height uses number 200 for fixed pixels.
Fill all three blanks to set a child element's width to fill, height to hug, and minimum width fixed at 150.
child.resize({ width: '[1]', height: '[2]', minWidth: [3] })Width is 'fill' to stretch, height is 'hug' to fit content, minWidth is fixed number 150 pixels.