Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add new attribute form container type "Row"
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
- Loading branch information
1 parent
1de12f3
commit ab19e8e
Showing
12 changed files
with
272 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1996,6 +1996,7 @@ The development version | |
{ | ||
GroupBox, | ||
Tab, | ||
Row, | ||
}; | ||
|
||
enum class AttributeFormLayout | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.