This implements the status bar as footer region in the spreadsheet editor (T86142).
Currently, it just shows the number of rows and columns. More information can be added once it is available.
Details
Details
- Reviewers
Hans Goudey (HooglyBoogly) - Commits
- rBb617b4441961: Spreadsheet: add status bar
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- spreadsheet-footer (branched from master)
- Build Status
Buildable 13431 Build 13431: arc lint + arc unit
Event Timeline
Comment Actions
For the records (brought this up over chat). Technically you can already use the "selected only" filter as a way to add more information to the status bar (the whole 2 / 14 rows).
Comment Actions
Personally I have some problems with the design, but I posted that on the design task. The code looks good to me.
I think storing the necessary variables for the footer and tagging redraw is the best way to do it, so +1 for that.
Looks like a call to rna_def_space_generic_show_region_toggles might be missing.
| source/blender/editors/space_spreadsheet/space_spreadsheet.cc | ||
|---|---|---|
| 65 | /* Footer. */ : P | |
| 265 | I'd get a reference to SpaceSpreadsheet_Runtime directly so you don't have to keep repeating spreadsheet->runtime in the following lines. | |

