Updated for Sparkle 2.6
Please report any shortcoming in this documentation and we’ll fix it as soon as possible!
The Arrange inspector pane, the Arrange menu and the format bar controls let you manage element layering.
Elements are drawn in the order they have been added to the project. Draw order is not important if elements don’t overlap each other. When overlap occurs you need to control ordering.
The Back button brings the element behind all the others, while Front brings it in front of all others. Backward moves the element one step behind in the layering (its position is swapped with the following element), while Forward moves it a step ahead (its position is swapped with the previous element).
The Follow footer setting anchors elements to the page bottom handle.
The Lock setting prevents an element from being moved on the canvas, and also removes it from the current selection in many circumstances.
The Show on this device setting toggles visibility of the element on the current device, to be used in conjunction with multi-device setups.
Elements can be resized by:
Elements can be moved by:
Most elements can be rotated via a rotation setting in the Arrange inspector pane.
After adding an image in the canvas you can set the text wrapping options to control how text will flow around the image. Text wrapping in fact can be used for any canvas element, not just images. By default text wrapping is off, so text will overlap the element (or end up below the element).
Setting “Above and below” clears the sides of the image, forcing the text to skip the entire horizontal stripe where the image intersects the text box.
Setting “Rectangle” causes text to avoid the the frame of the element, pretty much the frame you see in the Sparkle canvas.
Setting “Contour” causes text to fill areas of the image that aren’t fully opaque, so if you have a bitmap or SVG image with transparent regions, text will wrap the contour of the image content.
Image transparency often looks clear cut, but there often actually is a multi-level transparency value, Sparkle represents that in a 0 to 1 range, so if you have a transparency gradient you can control how far in the text will overlap. The margin option is always on top of the actual edges of an element, as a safe area to prevent text from getting too close to the content.
Text wrapping also accounts for element rotation and image or box corner rounding (with the Contour option), so you can get creative about text layout even without transparent images.
As a layout tip, wrapping will be more visible and more pleasing when text is tight around the element, so text should be possibly aligned to account for it, if possible. For example an image on the left will work best with left aligned text, an image on the right will work best with right aligned text.
A final note on the edge case of a text frame lying entirely inside an element set for text wrapping. In this case, the text inside won’t be affect by the text wrapping settings. This lets you design an element that contains text within but forces text around it to wrap.
Sparkle’s visibility setting is key in helping show some common page features across the website identically, for visual consistency.
You can show the page header, a navigation element or the footer in a consistent way on all site pages, or perhaps just in a section.
When an element is visible on multiple pages it remains fully editable in all of them. A useful trick is to group, say, the page header elements, and make the group visible on multiple pages, instead of setting visibility on the individual header components.
The multi-page visibility applies to all properties, including position. This makes the Follow footer setting particularly useful, because by anchoring an element to the page bottom, it lets you have a common footer on pages of different height.
Advanced code integration