How to get the editor tab size?

Hi,

I would like to display the content of my node with a custom swing component. I have the problem that some components exceed the size of my editor tab. To avoid any components get cut I would like to resize them based on the size of the editor tab. Is there any way to extract the size of the editor tab from the editorContext?

Thanks,
Dominik

0
1 comment

EditorSettings.getInstance().getIndentSize()

0

Please sign in to leave a comment.