Alignment guides configured for adaptive snap-to behavior are disclosed. In one embodiment, during a user interface element resize or move gesture, match-priority values for potential alignment guides are determined based at least on gravity values associated with said alignment guides. After a displayed object is snapped to a first alignment guide having the highest match-priority value, and the
... [Show full abstract] user interface element is moved away from the first alignment guide during the resize or move gesture, the gravity value associated with the first alignment guide is adjusted.