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"
if [[ "$dialog_type" == "yad" ]]; then
yad --form \
echo "$text" | yad --text-info \
--title="$title" \
--field="$text:LBL" \
--selectable-labels \
--show-cursor \
--button="OK:0" \
--width=400
--width=600 \
--height=400
else
dialog --backtitle "$back_title" \
--title "$title" \