Fixed resizing setting ui when attributes are added.