I create a window which is composed of two Vlayouts (one for center part, another for bottom part).
The center part is basically a DynamicForm where I did not specify the size (the size is automatically determined from its DataSource). The bottom part is my customized UI components (typically IButton, TextItem, etc.).
I would like to make TextItem to fill the entire width, and set its size to "*" (I also tried setWidth100()). But it simply didn't workout.
I guess the problem comes from the DynamicForm, since its size is automatically calculated based on its DataSource (which is a nice feature). But how can I make the size of my bottom layout to be align with the size of the DynamicForm?
The center part is basically a DynamicForm where I did not specify the size (the size is automatically determined from its DataSource). The bottom part is my customized UI components (typically IButton, TextItem, etc.).
I would like to make TextItem to fill the entire width, and set its size to "*" (I also tried setWidth100()). But it simply didn't workout.
I guess the problem comes from the DynamicForm, since its size is automatically calculated based on its DataSource (which is a nice feature). But how can I make the size of my bottom layout to be align with the size of the DynamicForm?