up Inquisit Language Reference

widthpct property

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

Member of

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

Remarks

Use the widthpx attribute to get the width in pixels.

Examples

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

<text sometext>
/ items= ("width = <% text.foo.widthpct %>")
</text>

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

<page somepage>
width = <% defaults.widthpct %>
</page>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.