Skip to content

Commit 186a7e4

Browse files
Merge pull request #85 from Infragistics/vs-allow-sizing-annotation-dialog
allow sizing annotation dialog
2 parents b592dcd + dc35248 commit 186a7e4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Examples/IGDataChart/Controls/AnnotationDialog.xaml.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ private async void InitializeWebView()
7575
7676
editor.onDidChangeModelContent(updatePreview);
7777
updatePreview();
78+
window.addEventListener('resize', () => {{
79+
requestAnimationFrame(() => {{
80+
editor.layout();
81+
}});
82+
}});
83+
7884
}});
7985
</script>
8086
</body>

0 commit comments

Comments
 (0)