Closed ae3e closed 3 years ago
@ae3e If you want to make the code editor expand to the available space, you can use the AutoSizer. Here's an example: https://github.com/marcusolsson/grafana-json-datasource/blob/8d9eb3b5e23cc4ebb4cad68545f7a34ead07f2c8/src/components/QueryEditor.tsx#L202-L219
Originally posted by @marcusolsson in https://github.com/grafana/grafana-plugin-repository/pull/759#issuecomment-773249443
@ae3e Is there any interest in making it resizable? Or fill the full side panel? As of now, extensive editing is difficult with such short heights.
@ae3e If you want to make the code editor expand to the available space, you can use the AutoSizer. Here's an example: https://github.com/marcusolsson/grafana-json-datasource/blob/8d9eb3b5e23cc4ebb4cad68545f7a34ead07f2c8/src/components/QueryEditor.tsx#L202-L219
Originally posted by @marcusolsson in https://github.com/grafana/grafana-plugin-repository/pull/759#issuecomment-773249443