.. _free_layout_example: Free layout ------------ Free layout example, that uses GridLayout element, is shown in :numref:`layout_example_complex_code`, and the corresponsing dialog is shown in :numref:`layout_example_complex_image`. GridLayout, HBoxLayout, VBoxLayout can be used to layout widgets freely. When using these elements for layouting, caption attributes are not used to show labels, but Label elements are used to show labels instead. GridLayout, HBoxLayout, VBoxLayout elements can be used recursively. GroupBox element can be used inside these elements freely. .. code-block:: xml :caption: Free layout definition example :name: layout_example_complex_code :linenos: .. _layout_example_complex_image: .. figure:: images/layout_complex.png :width: 280pt Dialog for free layout definition example