Commit 088ca67b authored by Mikhail Tergoev's avatar Mikhail Tergoev

fixed text position for yad_error

parent 6a9188ad
......@@ -5143,7 +5143,7 @@ yad_error () {
local pw_yad="yad"
command -v "${pw_yad}" &>/dev/null || fatal "yad not found"
fi
"${pw_yad}" --no-wrap --text "$@" --width=400 --height=150 --borders=15 --title "ERROR" \
"${pw_yad}" --no-wrap --text "\n\n $@\n\n" --width=400 --height=150 --borders=15 --title "ERROR" \
--gui-type-layout="${YAD_INFO_GUI_TYPE_LAYOUT}" \
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" --image="$PW_GUI_ICON_PATH/error.svg" \
--text-align=center --fixed \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment