Customising the Spreadsheet add button #4123
Replies: 1 comment 6 replies
-
Hey Tom, Would definitely welcome a PR for this. Metadata to hide the default button seems reasonably pragmatic, but might it be a pity that the new + button would be out of line with the info row? I wonder if a static Would that suit your use case, or do you want to customise the button more heavily? It perhaps doesn't give complete control, but I can imagine it providing sufficient control for a bunch of things we might want to do in Gaffer. Cheers... |
Beta Was this translation helpful? Give feedback.
-
Hey Team Gaffer,
I’ve been committing assorted crimes against Gaffer, in the form of custom nodes built around a Spreadsheet (see themissingcow/gaffer-astro@3a17d3d as an example). This is all working well, but I’d like to customise the process for adding rows - principally to:
ShaderTweaks
, etc...I can do all this with a custom widget in the plug layout, but I don’t think there is a way to hide the standard add button from the
rows
PVW, or customise its action.Would there by any interest in me putting up a PR to help support this? If so, any preference on how?
Allowing one to hide the button (perhaps as per
spreadsheet:defaultRowVisible
) would do me, rather than attempting to add in suitable customisation signals for a menu + row creation.No worries either way,
Many thanks in advance,
Tom
Beta Was this translation helpful? Give feedback.
All reactions