swiftDialog icon indicating copy to clipboard operation
swiftDialog copied to clipboard

Support the use of --infotext when --buttonstyle stack is used

Open philipross opened this issue 11 months ago • 1 comments

FR opened from previous issue raised: https://github.com/swiftDialog/swiftDialog/issues/511

Is your feature request related to a problem? Please describe. Currently, when using --buttonstyle stack it's not possible to also use --infotext and have the text display.

Describe the solution you'd like It would be really useful to have a small area, just above the buttons, that can be used to display info text when using buttons in a stacking style.

Describe alternatives you've considered N/A

Additional context Screenshots included of current state. /usr/local/bin/dialog --title none --messagealignment centre --messageposition centre --message "### Movie night! \n\nI'm not actually running a movie night, it's just to get your attention.\n\nSorry if that's disappointing, but you won't like my taste in films." --button1text "Sad times, I was looking forward to it! " --button2text "Phew, that was a close call..." --ontop --moveable --height 510 --width 400 --centreicon --icon SF=popcorn.circle,colour=auto --iconsize 130 --infotext "Here's some info" --buttonstyle stack Image

/usr/local/bin/dialog --title none --messagealignment centre --messageposition centre --message "### Movie night! \n\nI'm not actually running a movie night, it's just to get your attention.\n\nSorry if that's disappointing, but you won't like my taste in films." --button1text "Sad times, I was looking forward to it! " --button2text "Phew, that was a close call..." --ontop --moveable --height 510 --width 400 --centreicon --icon SF=popcorn.circle,colour=auto --iconsize 130 --infotext "Here's some info" Image

If that "Here's some info" was shown aligned to the left hand edge of the buttons, just above the button area, that would be 💯

philipross avatar May 19 '25 14:05 philipross

This is similar to #486

bartreardon avatar May 22 '25 11:05 bartreardon