The display width of the item as a percentage of the canvas width.
<instruct> <likert> <openended> <sliderTrial> <caption> <checkboxes> <dropdown> <image> <listbox> <radioButtons> <slider> <textbox> <button> <clearScreen> <clock> <html> <picture> <shape> <text> <video>
object.name.widthPct
Read/Write
extent
Use the widthPct property to get the width as a percentage of the canvas.
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>