You can edit the following properties to customize the visual style of your widgets. You can access these properties in the Style pane or in the style toolbar along the top of the canvas.
Use the slider or the numeric input field in this section to set the target widget's overall opacity. This value stacks with both the fill color and text color opacity values.
Font settings: These control the style of a widget's text by setting its font family, typeface, font size, and font color.
If you use fonts listed under the Local heading in the font picker, see the web fonts reference guide to learn how to preserve the fonts when you publish your prototype.
Line Spacing (leading): Adjusts the amount of space between lines of text. You can set a specific pixel value or leave "auto" selected to use the default spacing.
Character Spacing (tracking): Adjusts the amount of space between individual characters in widget text. You can set a specific value (in tenths of a pixel) or leave "0" selected to use the default spacing.
Additional text options: This menu includes the following formatting options:
Bulleted List, Bold, Italic, Underline, and Strikethrough
Baseline: Moves the baseline of the selected text up or down. Choose from Normal, Superscript, and Subscript.
Letter Case: Transforms the case of all characters in the selected text. Choose from Normal, Uppercase, and Lowercase.
Text Shadow: Adds a drop shadow to each character in the widget text.
Alignment: The seven alignment options control the alignment of a widget's text within its borders. You can control both horizontal and vertical alignment.
Color: Sets a widget's fill color. Widget fill colors can be solid or include a linear or radial gradient.
Image: Sets a shape widget's fill image and the image's alignment, scaling, and tiling.
Color: Sets the color and opacity of a line widget or a two-dimensional widget's outline. Line colors can be solid or include a linear or radial gradient.
Thickness: Sets the thickness of a line widget or a two-dimensional widget's outline.
Pattern: Sets the pattern of a widget's outline.
Visibility: Controls which sides of a rectangle widget display a border.
Give the selected widget an outer and/or inner shadow. You can control the shadow's X and Y offsets, its blur, and its color. For inner shadows, you can also control the shadow's spread.
Use the numeric Radius field to round the corners of a rectangular widget. (You can also do this by selecting the widget on the canvas and dragging the triangle at its top-left corner.)
To control which of the corners display the rounding, toggle the Set Corner Radius icons.
These numeric controls determine the minimum amount of space, in pixels, between a widget's text and the corresponding border, Left, Top, Right and Bottom.
Widget styles are reusable, centrally managed sets of style properties. You can apply a single widget style to multiple widgets in order to unify their styling. If you change one of the property selections in the widget style, the change will be applied to all widgets using that style.
To apply a widget style to one or more widgets, select the widget(s) and then select the widget style in the widget style dropdown in the Style pane or the style toolbar.
You can view and manage the widget styles in a prototype by going to Project → Widget Style Manager or by clicking the Manage Widget Styles icon next to the widget style dropdown in the Style pane or the style toolbar.
Widget Style Hierarchy
Every widget's visual appearance is determined by style property selections made in the following locations, listed in order from highest to lowest priority:
Style property selections made on the widget itself in the Style pane or the style toolbar, which override the selections in both the Default style and the widget's own applied widget style.
The widget's applied widget style — for example, the Box 3 style — whose style property selections override the selections in the Default style.
The Default style at the top of the Widget Style Manager dialog, whose style property selections are applied to every widget in the prototype.
When a widget's style property selections differ from those of its widget style, the widget style name is followed by an asterisk in the Style pane and style toolbar.
The Widget Style Manager
Click the Manage Widget Styles icon, next to the widget style dropdown in the Style pane or the style toolbar, to open the Widget Style Manager. You can also access this dialog via the Project → Widget Style Manager menu option.
To add a new style, click Add at the top of the dialog. Alternatively, you can click Duplicate to make a new style from an existing style.
To delete a style, select it and click Delete. Use the Up and Down arrows to reorganize the styles in the dialog.
To edit the style properties of a widget style, select it in the left column. In the right column, check the box next to a style property to have that property override the Default style, and then make your selection for the property in the applicable field.
You can also edit multiple styles at once. Hold CTRL or CMD while selecting styles in the left column and then make changes in the right column.
Styles in Team Projects
Styles in a team project can be edited without checking out the project styles. To update style changes for all users of the project, send changes via the Team → Send Changes to Team Directory menu command.
Copy and Paste Styles
You can copy the styling of one widget and paste it onto another widget. To do so:
- Copy the first widget.
- Right-click the second widget.
- Select Paste Special → Paste Style.
The second widget will take on all the style properties of the first widget, including its applied widget style.
The Format Painter
The format painter, available in the main menu at Edit → Format Painter, gives you finer control over how style properties are applied to widgets when copying and pasting.
You can choose which individual properties to copy and paste, and you can paste onto multiple widgets at once.
Additionally, the format painter allows you to copy and paste style effects.
Interactive Style Effects
"Style effects" are widget styles that are applied dynamically based on interactions in the web browser. They change the styling of a widget from its base style to an alternative style so long as the widget is in a certain state, such as moused over or disabled.
To learn more, check out the Style Effects article.