mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
This container always lays out child widgets in a horizontal row, where the number of columns is automatically determined by the number of child widgets. It's useful for creation of compact forms, where no space will be wasted by assigning extraneous horizontal width to widgets where the expected values will always be short. Eg: creating 3 rows with 3, 2, 1 child widgets respectively results in the layout: Attr 1: [...] Attr 2: [...] Attr 3: [...] Attr 4: [..........] Attr 5: [..........] Attr 6: [...............................] Without the option of row containers then the all horizontal rows will have the same number of columns, eg: Attr 1: [...] Attr 2: [...] Attr 3: [...] Attr 4: [...] Attr 5: [...] Attr 6: [...] (leaving insufficient horizontal length for attributes 4-6), or Attr 1: [..........] Attr 2: [..........] Attr 2: [..........] Attr 3: [..........] Attr 4: [..........] Attr 5: [..........] Attr 6: [..........] (resulting in wasted horizontal space next to attribute 6, and an extra row taking up vertical space) Sponsored by NIWA