Aligning and formatting objects using Smart Painter