where/how does "canAutoResize" get set?