up Inquisit Language Reference

heightpct property

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

Member of

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

Remarks

Use the heightpx attribute to get the width in pixels.

Examples

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

<text sometext>
/ items= ("height = <% text.foo.heightpct %>")
</text>

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

<page somepage>
height = <% defaults.heightpct %>
</page>

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