Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 02:42:11 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309990 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201612130242.uBD2gBuB070086@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Tue Dec 13 02:42:10 2016
New Revision: 309990
URL: https://svnweb.freebsd.org/changeset/base/309990

Log:
  Calculate proper size of menu list dialog

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:40:54 2016	(r309989)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:42:10 2016	(r309990)
@@ -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\" \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612130242.uBD2gBuB070086>