Added auto-scaling and 'pattern' UI element.