Snap to right or bottom side, leaving space to the left or top.
For horizontal layouts, in right-to-left locales this should be reversed.