The Inspector on the right lets you adjust the settings for the current layer, or the options for the current tool. When you have a layer selected you will see that the Inspector is divided into sections.
Not all of these sections may be visible, depending on the type of layer you have selected, or whether or not it is contained within a group or Artboard. Sections below the layer properties can be collapsed and expanded allowing you to hide or reveal its content.
At the top of the Inspector are options for aligning and distributing layers. These buttons will become active when you have more than one layer selected. More information about this feature can be found under Moving Layers.
The layer properties are visible in the top part of the Inspector; the layer’s position, size, rotation value, flip origin, and (depending on the layer type) a few special options, such as changing the number of points for a polygon shape.
Clicking the padlock in between the width and height fields will toggle locking the shape’s aspect ratio. A locked padlock will mean the shape’s height will change when you edit its width.
When a rectangle is selected, you can create rounded corners by adjusting the radius value, as well as choose between round, or smooth corners.
The text fields in the Inspector aren’t ordinary text fields. If you hover your pointer over them you will see up and down arrows appear on the right-hand size you can click to quickly increment or decrement the value.
If you hold down the Shift key and click, Sketch will instead increment or decrement the value by 10 times as much. Holding down the Option key will change it by a tenth of that size.
Up and Down
Once you are editing the text fields directly, the up and down arrows will have disappeared, but their functionality is still available. When a text field is selected, use the up and down arrow keys to adjust the value. Holding down the Shift key at the same time will adjust the value by 10.
With a text field selected, you can click-and-drag on its inline label left and right to quickly increase or decrease its value. For text fields who don’t have an inline label, but instead have one underneath the field — clicking-and-dragging this will also adjust its value.
Again, by holding down either the Shift, or Option keys at the same time you can adjust the size by 10, or .1 respectively.
If you’re not sure about the exact value you want to use in your design, this is great way to quickly experiment on finding the perfect one.
Another great feature in our text fields is that you can perform math in any field where there are numbers. You can add, subtract, divide, multiply, and in some cases, use percentage to adjust your objects, as shown below.
For example, you can select a layer or multiple layers and use +, –, *, or / in any of the numerical fields.
You can specify a percentage in the height or width values of an object or group of objects if it is contained inside a group or Artboard. Sketch will calculate the value and resize the layer. (eg, giving a layer’s width value “10%” when its in a 960 px-wide Artboard will change its width to 96 px).
In the radius input field for rectangles, you can specify a different value for each corner by using ; (eg. 40;0;40;0).
The resizing settings will only be visible in the Inspector if you have a layer selected inside a group or Artboard. It allows you to determine how that layer should behave when the group or Artboard it’s in is resized.
To learn more about this feature, check out the Resizing Constraints chapter.
Appearance and Style
Any combination can be saved to create a Shared Style.
To add a new style attribute to a layer, just click the add button in the desired section title:
When adding a new Fill, Border, or Shadow, you’ll get a popover where you can select its color:
You can hide each attribute by deselecting the visibility checkbox on its left. When one or more Fills, Borders or Shadows are deselected, you can remove them by clicking on the delete button that appears on the section title:
You can apply a Blur much the same way, by selecting the visibility checkbox in the section title. You can then choose the type of blur being applied to your layer from the pop-up menu, and adjust its blur radius.
Below the Style section, you will find the Make Exportable option. From here, you can make any layer or group ready for export by pressing the add button . You can learn more about the different exporting options here.