diff options
| author | bobzel <zzzman@gmail.com> | 2020-12-13 13:58:56 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-12-13 13:58:56 -0500 |
| commit | 043fe3cb67003ddd0bc309b85e2b0dad353ed629 (patch) | |
| tree | 1344b6940e5226cdb870353d496b924437195686 /src/client/views/PropertiesView.tsx | |
| parent | 38c86111d73480228c61d81da9dc6c79747321af (diff) | |
more props cleanup. Got rid of ItemBackgroundColor in favor of having StyleProvider choose style based on whether it's givena DocViewProp or a FieldViewProp.
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
| -rw-r--r-- | src/client/views/PropertiesView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index eb7df0248..24c6c6d71 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -271,7 +271,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { renderDepth={1} rootSelected={returnFalse} styleProvider={DefaultStyleProvider} - fitToBox={true} + fitDocToPanel={true} freezeDimensions={true} dontCenter={"y"} NativeWidth={layoutDoc.type === DocumentType.RTF ? this.rtfWidth : undefined} |
