update label and textfield dimensions