Uiprobe visualizes layout and spacing issues directly on the canvas using lightweight visual indicators.
These indicators show where a layout differs from the design, by how much, and in which direction an element should change. They are designed to be readable without requiring knowledge of CSS or implementation details.
Layout and spacing indicators are used specifically for issues related to spacing, size, and padding.
Spacing issues occur when the distance between two elements differs from the design.
Spacing differences are visualized using:
−10 or +8)The line indicates where the spacing is measured.
The label indicates how much the spacing differs from the design.
−10 means the gap is 10 pixels too large+8 means the gap is 8 pixels too smallWhen the same spacing difference appears repeatedly across similar elements, such as navigation items, Uiprobe may group these visually to indicate a systemic spacing issue.
Size and padding issues occur when an element’s own dimensions differ from the design.
This includes:
Size and padding differences are visualized using:
If only one edge differs from the design, the distance line and label are shown on that edge only.
This typically indicates that padding or size needs to be adjusted on one side.
If both sides differ equally, a single centered distance label is shown together with a design reference box.
This indicates that the element needs to grow or shrink symmetrically.
−10 means the edge needs to move inward by 10 pixels+20 means the element needs to grow by 20 pixels in totalLayout and spacing indicators follow a small set of consistent principles:
Once you understand how one layout indicator works, all other spacing and size indicators follow the same logic.