Switch to text-info for informational dialogs in yad.

This commit is contained in:
Storm Dragon
2025-08-06 15:04:41 -04:00
parent 94d9caa707
commit 90fd40fb4a

View File

@ -122,12 +122,12 @@ ui_msgbox() {
local text="$3" local text="$3"
if [[ "$dialog_type" == "yad" ]]; then if [[ "$dialog_type" == "yad" ]]; then
yad --form \ echo "$text" | yad --text-info \
--title="$title" \ --title="$title" \
--field="$text:LBL" \ --show-cursor \
--selectable-labels \
--button="OK:0" \ --button="OK:0" \
--width=400 --width=600 \
--height=400
else else
dialog --backtitle "$back_title" \ dialog --backtitle "$back_title" \
--title "$title" \ --title "$title" \