diff options
author | eleanor-park <eleanor_park@brown.edu> | 2024-07-25 23:36:52 -0400 |
---|---|---|
committer | eleanor-park <eleanor_park@brown.edu> | 2024-07-25 23:36:52 -0400 |
commit | 8ca26551622d36b7856f5c1865498fa9e5d888b5 (patch) | |
tree | 51521faf3dc5d1ebcf867d78e7938bbef8135e86 /src/client/util/CurrentUserUtils.ts | |
parent | a763c4e80cec6aef5219a8c9fcfa2ddccbc10b0a (diff) |
cleaned up smart draw & palette
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index 6b59828eb..8c7d40158 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -176,7 +176,7 @@ export class CurrentUserUtils { static setupLightboxDrawingPreviews(doc: Doc, field="myLightboxDrawings") { const reqdOpts:DocumentOptions = { - title: "Preview", _layout_fitWidth: true, childLayoutFitWidth: true, + title: "Preview", _header_height: 0, _layout_fitWidth: true, childLayoutFitWidth: true, }; const reqdScripts = {}; const drawings = DocCast(doc[field]); @@ -392,6 +392,7 @@ pie title Minerals in my tap water {key: "Script", creator: opts => Docs.Create.ScriptingDocument(null, opts), opts: { _width: 200, _height: 250, }}, {key: "DataViz", creator: opts => Docs.Create.DataVizDocument("/users/rz/Downloads/addresses.csv", opts), opts: { _width: 300, _height: 300 }}, {key: "Chat", creator: Docs.Create.ChatDocument, opts: { _width: 300, _height: 300, }}, + {key: "AnnoPalette",creator: Docs.Create.AnnoPaletteDocument, opts: {_width: 300, _height: 300, _dropAction: dropActionType.move }}, {key: "Header", creator: headerTemplate, opts: { _width: 300, _height: 120, _header_pointerEvents: "all", _header_height: 50, _header_fontSize: 9,_layout_autoHeightMargins: 50, _layout_autoHeight: true, treeView_HideUnrendered: true}}, {key: "ViewSlide", creator: slideView, opts: { _width: 400, _height: 300, _xMargin: 3, _yMargin: 3,}}, {key: "Trail", creator: Docs.Create.PresDocument, opts: { _width: 400, _height: 30, _type_collection: CollectionViewType.Stacking, dropAction: dropActionType.embed, treeView_HideTitle: true, _layout_fitWidth:true, layout_boxShadow: "0 0" }}, |