aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx126
1 files changed, 63 insertions, 63 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx
index 8273f3e09..07d3c3e9c 100644
--- a/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx
+++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx
@@ -793,8 +793,8 @@ export class DocCreatorMenu extends ObservableReactComponent<FieldViewProps> {
_layout_borderRounding: `${template.opts.cornerRounding}px` ?? '0px',
borderWidth: template.opts.borderWidth,
borderColor: template.opts.borderColor,
- x: 400,
- y: 400,
+ x: 40000,
+ y: 40000,
});
const mainCollection = this._dataViz?.DocumentView?.().containerViewPath?.().lastElement()?.ComponentView as CollectionFreeFormView;
@@ -1670,8 +1670,8 @@ export class TemplateLayouts {
return TemplateLayouts.FourField001;
case 'fourfield2':
return TemplateLayouts.FourField002;
- case 'fourfield3':
- return TemplateLayouts.FourField003;
+ // case 'fourfield3':
+ // return TemplateLayouts.FourField003;
case 'fourfield4':
return TemplateLayouts.FourField004;
case 'threefield1':
@@ -1838,65 +1838,65 @@ export class TemplateLayouts {
]
};
- public static FourField003: TemplateDocInfos = {
- title: 'fourfield3',
- width: 477,
- height: 662,
- opts: {
- backgroundColor: '#9E9C95'
- },
- fields: [{
- tl: [-.875, -.9],
- br: [.875, .7],
- types: [TemplateFieldType.VISUAL],
- sizes: [TemplateFieldSize.LARGE, TemplateFieldSize.HUGE],
- description: '',
- opts: {
- borderWidth: '15',
- borderColor: '#E0E0DA',
- }
- }, {
- tl: [-.95, .8],
- br: [-.1, .95],
- types: [TemplateFieldType.TEXT],
- sizes: [TemplateFieldSize.TINY, TemplateFieldSize.SMALL],
- description: '',
- opts: {
- backgroundColor: 'transparent',
- color: 'white',
- contentXCentering: 'h-right',
- }
- }, {
- tl: [.1, .8],
- br: [.95, .95],
- types: [TemplateFieldType.TEXT],
- sizes: [TemplateFieldSize.TINY, TemplateFieldSize.SMALL],
- description: '',
- opts: {
- backgroundColor: 'transparent',
- color: 'red',
- fontTransform: 'uppercase',
- contentXCentering: 'h-left'
- }
- }, {
- tl: [0, -.9],
- br: [.85, -.66],
- types: [TemplateFieldType.TEXT, TemplateFieldType.VISUAL],
- sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE, TemplateFieldSize.HUGE],
- description: '',
- opts: {
- backgroundColor: 'transparent',
- contentXCentering: 'h-right'
- }
- }],
- decorations: [{
- tl: [-.025, .8],
- br: [.025, .95],
- opts: {
- backgroundColor: '#E0E0DA',
- }
- }]
- };
+ // public static FourField003: TemplateDocInfos = {
+ // title: 'fourfield3',
+ // width: 477,
+ // height: 662,
+ // opts: {
+ // backgroundColor: '#9E9C95'
+ // },
+ // fields: [{
+ // tl: [-.875, -.9],
+ // br: [.875, .7],
+ // types: [TemplateFieldType.VISUAL],
+ // sizes: [TemplateFieldSize.LARGE, TemplateFieldSize.HUGE],
+ // description: '',
+ // opts: {
+ // borderWidth: '15',
+ // borderColor: '#E0E0DA',
+ // }
+ // }, {
+ // tl: [-.95, .8],
+ // br: [-.1, .95],
+ // types: [TemplateFieldType.TEXT],
+ // sizes: [TemplateFieldSize.TINY, TemplateFieldSize.SMALL],
+ // description: '',
+ // opts: {
+ // backgroundColor: 'transparent',
+ // color: 'white',
+ // contentXCentering: 'h-right',
+ // }
+ // }, {
+ // tl: [.1, .8],
+ // br: [.95, .95],
+ // types: [TemplateFieldType.TEXT],
+ // sizes: [TemplateFieldSize.TINY, TemplateFieldSize.SMALL],
+ // description: '',
+ // opts: {
+ // backgroundColor: 'transparent',
+ // color: 'red',
+ // fontTransform: 'uppercase',
+ // contentXCentering: 'h-left'
+ // }
+ // }, {
+ // tl: [0, -.9],
+ // br: [.85, -.66],
+ // types: [TemplateFieldType.TEXT, TemplateFieldType.VISUAL],
+ // sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE, TemplateFieldSize.HUGE],
+ // description: '',
+ // opts: {
+ // backgroundColor: 'transparent',
+ // contentXCentering: 'h-right'
+ // }
+ // }],
+ // decorations: [{
+ // tl: [-.025, .8],
+ // br: [.025, .95],
+ // opts: {
+ // backgroundColor: '#E0E0DA',
+ // }
+ // }]
+ // };
public static FourField004: TemplateDocInfos = {
title: 'fourfield4',