Allow Progress padding to be customizable #1450
sandrofigo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As already mentioned by this issue from another user #1346, it would be nice to have a way to control the automatically inserted paddings above and below the rendered progress content.
I was thinking about adding an extension method in
ProgressExtensions
to modify the vertical padding that is then used inDefaultProgressRenderer
:spectre.console/src/Spectre.Console/Live/Progress/Renderers/DefaultProgressRenderer.cs
Line 113 in b21e07e
Example:
Similarly an extension method could be added for
Status
inStatusExtensions
.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions