From 6fb3e0b3918773c56d2884c143e9e2a5926e224c Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Fri, 5 Jan 2024 10:01:24 -0500 Subject: [PATCH] Adjust UI widths for zenity 4.x --- lug-helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index f07f21a..52f59e8 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -357,7 +357,7 @@ message() { esac # Display the message - zenity "${margs[@]}""$@" --width="400" --title="Star Citizen LUG Helper" 2>/dev/null + zenity "${margs[@]}""$@" --width="420" --title="Star Citizen LUG Helper" 2>/dev/null else # Fall back to text-based messages when zenity is not available case "$1" in @@ -470,7 +470,7 @@ menu() { done # Display the zenity radio button menu - choice="$(zenity --list --"$menu_type" --width="480" --height="$menu_height" --text="$menu_text_zenity" --title="Star Citizen LUG Helper" --hide-header --cancel-label "$cancel_label" --window-icon="$lug_logo" --column="" --column="Option" "${zen_options[@]}" 2>/dev/null)" + choice="$(zenity --list --"$menu_type" --width="510" --height="$menu_height" --text="$menu_text_zenity" --title="Star Citizen LUG Helper" --hide-header --cancel-label "$cancel_label" --window-icon="$lug_logo" --column="" --column="Option" "${zen_options[@]}" 2>/dev/null)" # Match up choice with an element in menu_options matched="false"