About this task
Setting relative size of a widget is based on the widget's
parent container, the cell, not the form. To set the size based on
the form, you need to set the appearance of the cell first and then
the widget. Some widgets are not supported, please see
Supported XUI elements for relative size. Here takes setting the width
of TextArea as 25% of the form for example.