Calculate proper size of menu list dialog
This commit is contained in:
parent
9a46c67aed
commit
b9f60aba8b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309990
@ -224,6 +224,8 @@ while :; do
|
||||
f_dialog_title "Network Selection"
|
||||
prompt="Select a wireless network to connect to."
|
||||
menu_list=$( echo $NETWORKS | tr '\n' ' ' )
|
||||
f_dialog_menu_size height width rows "$DIALOG_TITLE" \
|
||||
"$DIALOG_BACKTITLE" "$prompt" "" $menu_list
|
||||
NETWORK=$( eval $DIALOG \
|
||||
--title \"\$DIALOG_TITLE\" \
|
||||
--backtitle \"\$DIALOG_BACKTITLE\" \
|
||||
|
Loading…
Reference in New Issue
Block a user