Switch to text-info for informational dialogs in yad.
This commit is contained in:
@ -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" \
|
||||
|
Reference in New Issue
Block a user