title: Unable to change the height using ang-jsoneditor for Json editor with Angular 6
body: <p>We are using <a href="https://github.com/mariohmol/ang-jsoneditor" rel="nofollow noreferrer">ang-jsoneditor</a> <strong>NPM</strong> Module for adding the <strong>JSON</strong> editor in my <strong>Angular 6</strong> application. This JSON editor is working fine in call cases except this one, I am trying to change the <strong>height</strong> of my <strong>JSON editor</strong> when I am opening it in <strong>Code</strong> mode. 
  Can anybody help me to find out the solution for this please ?</p>
  
  <p>Following is my code in .ts file : </p>
  
  <pre><code>import { JsonEditorOptions, JsonEditorComponent } from 'ang-jsoneditor';
  
  public editorOptions: JsonEditorOptions;
    @ViewChild(JsonEditorComponent) editor: JsonEditorComponent;
  
    constructor(private dataModelService: DataModelService) {
      this.editorOptions = new JsonEditorOptions();
     }
  
    ngOnInit() {
       this.editorOptions.mode = this.jsonEditorMode ? this.jsonEditorMode : 'code';
       // Following Code is not working for height
      // this.editor.setOptions({
      //   maxLines: Infinity});
    }
  </code></pre>