Content Elements: spacer

spacer specifies empty space.

Empty space may be inserted between consecutive objects in a box to introduce a gap between them.

Example

<?xml version="1.0"?>
<viewer xmlns="http://issuu.com/viewer/1.0" backgroundColor="#111111">
 
 <skin source="skins.swf"/>
 
 <box direction="horizontal">
  <button action="pagePrevious" upState="PagePreviousButton_up" ... />
  <button action="pageNext" upState="PageNextButton_up" ... />
  <spacer width="4" />
  <button action="index" upState="IndexButton_up" ... />
 </box>
 
 ...
 
</viewer>

In the example above, a small gap of 4 px. is introduced between the pageNext and index buttons.

The spacer element supports all the common attributes, except the background attributes.

 

Contents