Unable to set shrink value to true in MarkdownViewer -> MarkdownTableOfContents. #5367
-
Unable to set shrink value to true in MarkdownViewer -> MarkdownTableOfContents. After getting MarkdownViewer I try to change the shrink value of TableOfContents to true:
I try to do this in the on_mount method, but the text is not wrapped. DIAGNOSTICS
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If you mean the tree view, that doesn't wrap. But If you want the TOC to take less room you can set a max-width and it will scroll. |
Beta Was this translation helpful? Give feedback.
-
Max-width makes TOC smaller, but text still doesn't wrap. Is there a way to wrap that text in tree view? |
Beta Was this translation helpful? Give feedback.
No, it doesn't wrap.