up Inquisit Language Reference

listSize attribute

The listsize attribute defines the width and height of the bounding rectangle of the listbox or dropdown list control of a survey item.

Member of

<dropdown> <listbox>

Syntax

/ listSize = (width, height)

or

/ listSize = (widthexpression, heightexpression)

Parameters

Name Type Description
width extent The width of the list in pixels (default), percent, or points.
height extent The height of the list in pixels (default), percent, or points.
widthexpression value An expression resolving to the width of the list in pixels (default), percent, or points. If width is set to null and a height is specified, the width is set to the pixel size of the height.
heightexpression value An expression resolving to the height of the list in pixels (default), percent, or points. If height is set to null and a width is specified, the height is set to the pixel size of the width.

Remarks

The listsize attribute allows the list control to be scaled to the appropriate size for a questionnaire.

Examples

The following presents a listbox question, with the listbox sized to 100 by 200 pixels.

<listbox question1>
/ caption = "Choose your favorite flavor.
/ listsize=(100, 200)
/ options = ("vanilla", "chocolate", "strawberry", "mint chip")
</image>

Copyright Millisecond Software, LLC. All rights reserved.