Lines Matching full:width

106 # Minimum width(s) for various dialog(1) implementations (sensible global
119 # height (but does for width) -- a height of 3 will display three lines and a
301 # Get the maximum height and width for a dialog widget and store the values in
363 # or screen width. The use of $[X]DIALOG_MIN_WIDTH can be overridden by
380 # NOTE: Don't change the name of $__{var,min,}{height,width}
384 for __arg in height width; do
397 for __arg in height width; do
406 # Obtain maximum height and width values
407 # NOTE: Function name appended to prevent __var_{height,width} values
422 # Adjust width if desired
454 # or screen width. The use of $[X]DIALOG_MIN_WIDTH can be overridden by
477 # NOTE: Don't change the name of $__{var,min,}{height,width,rows}
482 for __arg in height width rows; do
495 for __arg in height width rows; do
504 # Obtain maximum height and width values
505 # NOTE: Function name appended to prevent __var_{height,width} values
522 # Adjust width if desired
576 # Not all versions of dialog(1) perform auto-sizing of the width and height of
581 # storing the calculated height and width. The second set of arguments are the
583 # width for the described widget (not exceeding the actual terminal height or
584 # width) is stored in $var_height and $var_width (respectively).
602 # Default height/width of zero for auto-sizing
627 # Adjust width if desired
630 # Bump width for long titles
636 # If using Xdialog(1), bump width for long backtitles (which
645 # Bump width for long prompts
648 __n=$(( $__n + 4 )) # add width for border
652 # Bump width for long hlines. Xdialog(1) supports `--hline' but
661 # Bump width by 16.6% if using Xdialog(1)
676 # Not all versions of dialog(1) perform auto-sizing of the width and height of
681 # storing the calculated height and width. The second set of arguments are the
683 # width for the described widget (not exceeding the actual terminal height or
684 # width) is stored in $var_height and $var_width (respectively).
702 # Calculate height/width of infobox (adjusted/constrained below)
703 # NOTE: Function name appended to prevent __var_{height,width} values
723 # No adjustemnts to width, just pass-thru the infobox width
737 # Not all versions of dialog(1) perform auto-sizing of the width and height of
742 # storing the calculated height and width. The second set of arguments are the
744 # width for the described widget (not exceeding the actual terminal height or
745 # width) is stored in $var_height and $var_width (respectively).
763 # Calculate height/width of buttonbox (adjusted/constrained below)
764 # NOTE: Function name appended to prevent __var_{height,width} values
781 # Adjust width if desired
783 # Bump width for initial text (something neither dialog(1) nor
802 # Xdialog(1) does not perform auto-sizing of the width and height of
807 # storing the calculated height and width. The second set of arguments are the
810 # optimal height and width for the described widget (not exceeding the actual
811 # terminal height or width) is stored in $var_height and $var_width
831 # Calculate height/width of inputbox (adjusted/constrained below)
832 # NOTE: Function name appended to prevent __var_{height,width} values
847 # Adjust width if desired
851 # Bump width for first label text (+16.6% since Xdialog(1))
856 # Bump width for second label text (+16.6% since Xdialog(1))
861 # Bump width for 2nd initial text (something neither dialog(1)
880 # Not all versions of dialog(1) perform auto-sizing of the width and height of
885 # storing the calculated height, width, and rows. The second set of arguments
888 # optimal height, width, and rows for the described widget (not exceeding the
889 # actual terminal height or width) is stored in $var_height, $var_width, and
907 # Calculate height/width of infobox (adjusted/constrained below)
908 # NOTE: Function name appended to prevent __var_{height,width} values
918 # longest item-length (both used to bump the width), and the number of
949 # Adjust width if desired
952 # longest item-length should be used to bump menu width
963 # Constrain height, width, and rows to sensible minimum/maximum values
973 # Not all versions of dialog(1) perform auto-sizing of the width and height of
978 # storing the calculated height, width, and rows. The second set of arguments
981 # optimal height, width, and rows for the described widget (not exceeding the
982 # actual terminal height or width) is stored in $var_height, $var_width, and
1000 # Calculate height/width of infobox (adjusted/constrained below)
1001 # NOTE: Function name appended to prevent __var_{height,width} values
1013 # all used to bump the width -- and the number of rows (used to bump
1045 # Adjust width if desired
1048 # longest item-length should be used to bump menu width
1054 # Update width for help text if using Xdialog(1)
1068 # Constrain height, width, and rows to sensible minimum/maximum values
1078 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1083 # storing the calculated height, width, and rows. The second set of arguments
1086 # The optimal height, width, and rows for the described widget (not exceeding
1087 # the actual terminal height or width) is stored in $var_height, $var_width,
1105 # Calculate height/width of infobox (adjusted/constrained below)
1106 # NOTE: Function name appended to prevent __var_{height,width} values
1116 # longest item-length (both used to bump the width), and the number of
1150 # Adjust width if desired
1153 # and radio-button width should be used to bump menu width
1164 # Constrain height, width, and rows to sensible minimum/maximum values
1174 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1179 # storing the calculated height, width, and rows. The second set of arguments
1182 # The optimal height, width, and rows for the described widget (not exceeding
1183 # the actual terminal height or width) is stored in $var_height, $var_width,
1199 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1204 # storing the calculated height, width, and rows. The second set of arguments
1207 # quadruplets). The optimal height, width, and rows for the described widget
1208 # (not exceeding the actual terminal height or width) is stored in $var_height,
1226 # Calculate height/width of infobox (adjusted/constrained below)
1227 # NOTE: Function name appended to prevent __var_{height,width} values
1239 # all used to bump the width -- and the number of rows (used to bump
1281 # Adjust width if desired
1284 # and radio-button width should be used to bump menu width
1290 # Update width for help text if using Xdialog(1)
1304 # Constrain height, width, and rows to sensible minimum/maximum values
1315 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1320 # storing the calculated height, width, and rows. The second set of arguments
1323 # quadruplets). The optimal height, width, and rows for the described widget
1324 # (not exceeding the actual terminal height or width) is stored in $var_height,
1338 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1343 # storing the calculated height and width. The second set of arguments are the
1345 # width for the described widget (not exceeding the actual terminal height or
1346 # width) is stored in $var_height and $var_width (respectively).
1366 # NOTE: Function name appended to prevent __var_{height,width} values
1412 # Calculate width if desired
1414 # NOTE: Function name appended to prevent __var_{height,width}
1421 # Enforce minimum/maximum width, unless `-n' was passed
1440 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1445 # storing the calculated height and width. The second set of arguments are the
1447 # width for the described widget (not exceeding the actual terminal height or
1448 # width) is stored in $var_height and $var_width (respectively).
1468 # NOTE: Function name appended to prevent __var_{height,width} values
1505 # Calculate width if desired
1507 # NOTE: Function name appended to prevent __var_{height,width}
1514 # Enforce the minimum width for displaying the timebox
1550 local info_text="$*" height width
1551 f_dialog_infobox_size height width \
1558 --infobox "$info_text" $height $width
1579 local info_text="$*" height width
1580 f_dialog_infobox_size height width \
1586 --infobox "$info_text" $height $width \
1599 local pause_text="$1" duration="$2" hline="$3" height width
1601 f_dialog_buttonbox_size height width \
1612 $height $width
1624 $height $width "$duration"
1651 local msg_text="$1" hline="$2" height width
1652 f_dialog_buttonbox_size height width \
1659 --msgbox "$msg_text" $height $width
1676 local contents height width retval
1681 f_dialog_buttonbox_size height width \
1690 --textbox "$file" $height $width
1696 --msgbox "$contents" $height $width
1713 local msg_text="$1" height width
1718 f_dialog_buttonbox_size height width \
1728 --yesno "$msg_text" $height $width
1736 --yesno "$msg_text" $height $width
1753 local msg_text="$1" height width
1758 f_dialog_buttonbox_size height width \
1769 --yesno "$msg_text" $height $width
1778 --yesno "$msg_text" $height $width
1839 # NOTE: Function name appended to prevent __var_{height,width} values
2285 # Probe Xdialog(1) for maximum height/width constraints, or die
2297 local height width
2298 f_dialog_buttonbox_size height width \
2304 --msgbox "$maxsize" $height $width
2312 width=$2
2314 echo $height $width