This commit is contained in:
parent
1d67702696
commit
f569e54ce0
6 changed files with 26 additions and 2 deletions
|
@ -48,6 +48,7 @@ export const DEFAULT_CONFIG: IConfiguration = {
|
|||
export const DEFAULT_MAINCONTAINER_PROPS: IProperties = {
|
||||
id: 'main',
|
||||
parentId: 'null',
|
||||
displayedText: 'main',
|
||||
x: 0,
|
||||
y: 0,
|
||||
minWidth: 1,
|
||||
|
@ -72,6 +73,7 @@ export const GetDefaultContainerProps = (
|
|||
): IProperties => ({
|
||||
id: `${type}-${typeCount}`,
|
||||
parentId: parent.properties.id,
|
||||
displayedText: `${type}-${typeCount}`,
|
||||
x,
|
||||
y,
|
||||
width: containerConfig.Width ?? containerConfig.MinWidth ?? parent.properties.width,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue