Diff panel saves size to ui preferences