Create dynamic label frame based on label content