The layout of PatternWindow was changed.