Complete the code to set the text box to auto-width mode.
textBox.resize([1]: true, height: 100)
Setting autoWidth to true makes the text box width adjust automatically to the text content.
Complete the code to set the text box to auto-height mode.
textBox.resize(width: 200, [1]: true)
Setting autoHeight to true makes the text box height adjust automatically to the text content.
Fix the error in the code to enable auto-width text resizing.
textBox.resize([1]: false, height: 100)
The property autoWidth should be set to true to enable auto-width resizing, not false.
Fill both blanks to set fixed width and auto-height for the text box.
textBox.resize([1]: 300, [2]: true)
Setting width to 300 fixes the width, and autoHeight to true allows height to adjust automatically.
Fill all three blanks to set auto-width, fixed height, and update text content.
textBox.resize([1]: true, height: [2]) textBox.text = [3]
Setting autoWidth to true adjusts width automatically, height is fixed at 100, and text content is updated to "Hello, world!".