The windowSize attribute defines the width and height of window in which experimental stimuli are presented.
<defaults>
Name | Type | Description |
---|---|---|
width | extent | The width of the window in pixels, percent(default), or points. |
height | extent | The height of the window in pixels, percent(default), or points. |
widthexpression | value | An expression resolving to the width of the window 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 window 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. |
By default, Inquisit runs experiments in full screen mode. This attribute allows you to run an experiment inside a standard window with a close button in the upper right corner. Running experiments in windowed mode is especially useful for web experiments that involve participants recruited from the internet because windowed applications are much more common than full screen applications, and because the close button provides a clear way for participants to quit an experiment. Generally speaking, it's best to specify the window size in terms of percentage of the screen so that it scales properly on different display resolutions.