diff options
author | bobzel <zzzman@gmail.com> | 2020-12-13 17:07:12 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-12-13 17:07:12 -0500 |
commit | dc98dae527236651f69a9bbd94e6f68296e417cd (patch) | |
tree | 17608f1765bde19a2ac9c469132906b98c0d1417 /src/client/views/collections/TreeView.tsx | |
parent | 898227ac1cecb3cd8d4be4ed00ab4190713f006a (diff) |
converted TabDocView to just use a ContentFittingDocumentView. Fixed schemView to use a styleProvider
Diffstat (limited to 'src/client/views/collections/TreeView.tsx')
-rw-r--r-- | src/client/views/collections/TreeView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/TreeView.tsx b/src/client/views/collections/TreeView.tsx index c03041214..dd6f21998 100644 --- a/src/client/views/collections/TreeView.tsx +++ b/src/client/views/collections/TreeView.tsx @@ -618,6 +618,7 @@ export class TreeView extends React.Component<TreeViewProps> { NativeWidth={!asText && this.layoutDoc.type === DocumentType.RTF ? this.rtfWidth : undefined} NativeHeight={!asText && this.layoutDoc.type === DocumentType.RTF ? this.rtfHeight : undefined} fitDocToPanel={!asText && this.isCollectionDoc !== undefined} + fitContentsToDoc={true} hideTitle={asText} LayoutTemplateString={asText ? FormattedTextBox.LayoutString("text") : undefined} focus={asText ? this.refocus : returnFalse} |