YOU ARE VIEWING ARCHIVAL DOCUMENTATION FOR ioL VERSIONS 0.9x. Go to doc.iol.science for the latest version.
ioL

Programming manual (doc0.iol.science)



width = ...

Use this field to specify the rendered on-screen width of the markup tag element.

Note: For the <program> element, this field is 'read-only'. Getting the value will return the current width of the entire ioL console frame in pixels. Out of respect for the user's personal computing preferences, applications are not permitted to resize their own application window.

Specifying a distance value for this field

This field takes a distance value specified with either one or two value elements.

If the units are not specified, the distance is interpreted in pixels {px} by default.

Example

<box width = 5>         <! specifies 5 pixels as the value for the width property. !>
<box width = 5,{px}>    <! 5 pixels; explicitly stated !>
<box width = 20,{%}>    <! percentage units !>
<box width = 12,{pt}>   <! typesetting point units !>
<box width = 1.2,{em}>  <! multiple of current font size !>