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