How to add horizontal margin to confirm, spin, choose... ? #141
Answered
by
maaslalani
KristhianX
asked this question in
Q&A
-
|
Hi, I'm very happy replacing parts of my script with gum. But I will like to add a little horizontal padding or margin to some elements (gum spin, choose, the confirm prompt) to match the style I was trying to get. Is there any way? I added a space before the prompt in gum input, but I have no idea how to move the gum spin. Thanks in advance! Great work! |
Beta Was this translation helpful? Give feedback.
Answered by
maaslalani
Sep 5, 2022
Replies: 1 comment 1 reply
-
|
Generally, you need to use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
KristhianX
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Generally, you need to use the
--<>.marginflag to do this, for example ongum spinyou can add a left margin with the following: