let SourceCodeRep main form be resized as expected