How to Prevent Shape Borders from Overlapping When Snapping in WPS
Question details
The user wants to stop shape borders from overlapping visually when multiple shapes are snapped together in a document.

- Product
- Word Processing and Presentation Software
- Device & OS
- not provided
- Scenario
- Aligning and snapping multiple shapes together to create diagrams or layouts, especially when using thick line weights.
- Observed behavior
- Shape borders overlap upon snapping because the alignment bounding box aligns to the center of the border rather than the outer edge.
Select the overlapping shapes and check their current line weight (thickness) under the shape formatting options to determine how much adjustment is needed.
Compensate for Border Thickness in Shape Dimensions
Manually add half of the line width to your shape's width and height to prevent the visual overlap.
Because the bounding box centers on the border line, increasing the shape's dimension outward pushes the snap point far enough to prevent overlapping.
Select the shape, right-click, and choose 'Format Object' or 'Format Shape'. Navigate to the 'Line' or 'Line Options' settings and note the current line width.
Stay in the formatting panel and switch to the 'Size' or 'Shape Transform' tab where you can precisely edit the width and height values.
Add exactly half of the noted line width to both the shape's width and height fields. Press Enter to apply the changes, and the shapes will now snap seamlessly without overlapping.

Modify Snap and Glue Settings
Turn off or adjust the automatic snap-to-grid or snap-to-shape options to allow manual fine-tuning of shape placement.
Create Perfectly Aligned Diagrams with WPS Office
WPS Office provides advanced shape formatting and alignment tools, allowing you to easily adjust line weights, dimensions, and snap settings to create pristine, overlap-free diagrams and presentations.
- 1. Insert Shapes: Open WPS Presentation or WPS Writer, navigate to the 'Insert' tab, and add your desired shapes to the canvas.
- 2. Format the Object: Select the shapes, right-click, and choose 'Format Object' to open the detailed properties pane on the right.
- 3. Adjust Line Options: Under 'Shape Outline' or 'Line', modify the width and rounding values to suit your design requirements.
- 4. Tweak Dimensions: Switch to the 'Size' tab in the properties pane to add half of your line width to the total dimensions, ensuring a perfect snap.

Frequently Asked Questions
Why do shapes with thick borders overlap when snapped?
When snapping shapes, the alignment is calculated based on the shape's bounding box, which is centered exactly on the border line path. For thick borders, the outer half of the line extends past this bounding box, causing it to overlap physically with adjacent shapes.
Can I snap shapes to their outer border edges instead of the center?
Most standard word processing and presentation tools snap to the center of the border path by default. To align by the outer edges, you must manually adjust the total dimensions to account for the line thickness, or temporarily turn off snap-to-object features and position them manually.
Does changing the line style, like using dashes, prevent the overlap?
No, the overlap is primarily caused by the line weight (thickness) extending past the bounding box. The style of the line (solid, dashed, or dotted) does not change the physical outer dimensions or the snap behavior.




