aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-02-29 09:51:30 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-02-29 09:51:30 -0500
commit640f14da28d97600fb32d09023fc932e3a4052c4 (patch)
treeb8d64cc83cddb1e4b2fe31ec9d4aa059c0f6a9be /src/client/documents/Documents.ts
parent64dbb375652338f5d6ddf3f3bcd3d8908aa681ae (diff)
fixes to default text box layouts
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index aab44f668..b16e03f66 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -81,6 +81,7 @@ export interface DocumentOptions {
_yPadding?: number;
_itemIndex?: number; // which item index the carousel viewer is showing
_showSidebar?: boolean; //whether an annotationsidebar should be displayed for text docuemnts
+ _singleLine?: boolean; // whether text document is restricted to a single line (carriage returns make new document)
x?: number;
y?: number;
z?: number;
@@ -409,7 +410,7 @@ export namespace Docs {
const delegateKeys = ["x", "y", "layoutKey", "_width", "_height", "_panX", "_panY", "_viewType", "_nativeWidth", "_nativeHeight", "dropAction", "childDropAction", "_annotationOn",
"_chromeStatus", "_forceActive", "_autoHeight", "_fitWidth", "_LODdisable", "_itemIndex", "_showSidebar", "_showTitle", "_showCaption", "_showTitleHover", "_backgroundColor",
- "_xMargin", "_yMargin", "_xPadding", "_yPadding",
+ "_xMargin", "_yMargin", "_xPadding", "_yPadding", "_singleLine",
"_color", "isButton", "isBackground", "removeDropProperties", "treeViewOpen"];
/**