up Inquisit Language Reference

width attribute

The width attribute specifies the width of a visual stimulus.

Member of

<button> <clock> <html> <picture> <shape> <text> <video>

Syntax

/ width = width

or

/ width = expression

Parameters

Name Type Description
width extent The width of the stimulus in pixels, percent(default), or points.
expression value An expression resolving to the width of the stimulus in pixels, percent(default), or points.

Remarks

The default unit is percentage of the vertical width of the presentation window.

Examples

The following sets the width of a clock to 5% of the screen width:

<clock timer>
/ mode = timer
/ width = 5%
/ timeout = 300000
/ position = (50%, 10%)
/ format = "mm:ss"
</clock>

Copyright Millisecond Software, LLC. All rights reserved.