up Inquisit Language Reference

widthPct property

The display width of the item as a percentage of the canvas width.

Member of

<instruct> <likert> <openended> <slidertrial> <caption> <checkboxes> <dropdown> <image> <listbox> <radiobuttons> <slider> <textbox> <button> <clearscreen> <clock> <html> <picture> <shape> <text> <video>

Syntax

object.name.widthPct

Read/Write

Type

extent

Remarks

Use the widthPct property to get the width as a percentage of the canvas.

Examples

The following displays the value of width in a text stimulus:

<text myText>
/ items= ("width = <% text.foo.widthPct %>")
</text>

The following displays the value of width in an instruction page:

<page myPage>
Width = <% defaults.widthPct %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.