Sizing and placement of design elements matters: do it quickly and easily.
The Frames tool is ideal for tasks where you are working with areas: creating a UI in a fixed window size, visualizing a CSS box definition, or any other measurement that requires an origin (x,y) and size (width, height.)
As with guides, there are several ways to create a frame:
As you adjust the frame's position, you'll see a number appear—this is the distance in pixels measured from the top-left corner of the screen. The width of the frame is always displayed along the bottom edge; the height is on the right edge. You can resize the frame by dragging on either of these indicators.
The frame options menu includes the following items:
Linked frames (with the chain icon) will move together as a group. To link the frames, select one of the frames by clicking on its position icon. Then click on the chain icon of all the frames you want link to the selected frame. To unlink, click on the chain icon again.
If you want to simply view the frame boxes themselves without control handles or measurement pills cluttering your view, you can turn on Simplify Interface In Background under General Preferences. This way, when xScope moves to the background, only the box outlines themselves will be displayed.
By default, the frames only display their origin point while dragging. If you're doing software development or some other activity where you want to see the origins of frames, use the Frames panel in xScope Preferences to set . There is also an option to display aspect ratios all of the time.
You can use the menu options, located under Frames in the menu bar, to save and open files with frames. In the open dialog, there is an option to add the frames in the file to the existing set of frames.
The menu item lets you quickly remove all frames. If you accidentally remove a frame, use ⌘Z (Undo) to get it back.
If you're lucky enough to have multiple displays attached to your Mac, make sure to check out General preference to show Guides and Frames on a single monitor. By default, guides and frames are displayed on all displays, but it can be very helpful to keep your code on one display and your measurements on another display. It's a lot easier to read your code when there aren't boxes all over it :-)