Space

<< Click to Display Table of Contents >>

Navigation:  IWML > Tags > Controls >

Space

The Space control inserts a non-breaking space into the layout. It is used for fine-grained spacing between controls where a full Gap is not needed.

 

Unlike Gap, which adjusts based on layout orientation and dimensions, Space simply renders a minimal horizontal space using a &nbsp; character.

 

This control is useful for inline spacing inside text rows or tightly packed UI elements.

 

Syntax

 

Space[:Name]

 

Name — optional identifier to access the control in code.

 

Try It

 

SimpleStack

 Text First

 Space

 Text Second