PromucFlow_constructor/app/client/cypress/fixtures/longCanvasDsl.json
rahulramesha b878d5bd01
fix: Update maincanvas height on widget resize, drag or delete operation (#14992)
* fix extra space on canvas

* reverting selector changes

* use updated main canvas minheight

* use default canvas minHeight
2022-07-15 15:57:13 +05:30

148 lines
4.1 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1885.0,
"snapColumns": 64.0,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0.0,
"bottomRow": 1990.0,
"containerStyle": "none",
"snapRows": 172.0,
"parentRowSpace": 1.0,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 59.0,
"minHeight": 1970.0,
"parentColumnSpace": 1.0,
"dynamicTriggerPathList": [],
"leftColumn": 0.0,
"dynamicBindingPathList": [],
"children": [
{
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"widgetName": "Container1",
"borderColor": "transparent",
"isCanvas": true,
"displayName": "Container",
"iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg",
"searchTags": [
"div",
"parent",
"group"
],
"topRow": 24.0,
"bottomRow": 64.0,
"parentRowSpace": 10.0,
"type": "CONTAINER_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 19.8125,
"leftColumn": 5.0,
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"children": [
{
"boxShadow": "none",
"widgetName": "Canvas1",
"displayName": "Canvas",
"topRow": 0.0,
"bottomRow": 400.0,
"parentRowSpace": 1.0,
"type": "CANVAS_WIDGET",
"canExtend": false,
"hideCard": true,
"minHeight": 400.0,
"parentColumnSpace": 1.0,
"leftColumn": 0.0,
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "accentColor"
}
],
"children": [],
"key": "6ivnoavo4l",
"isDeprecated": false,
"rightColumn": 475.5,
"detachFromLayout": true,
"widgetId": "02jsxl6p9o",
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"containerStyle": "none",
"isVisible": true,
"version": 1.0,
"parentId": "cszskwkg80",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
}
],
"borderWidth": "0",
"key": "m6axdyowa6",
"backgroundColor": "#FFFFFF",
"isDeprecated": false,
"rightColumn": 29.0,
"widgetId": "cszskwkg80",
"containerStyle": "card",
"isVisible": true,
"version": 1.0,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
{
"boxShadow": "none",
"widgetName": "Button1",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"displayName": "Button",
"iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg",
"searchTags": [
"click",
"submit"
],
"topRow": 27.0,
"bottomRow": 31.0,
"parentRowSpace": 10.0,
"type": "BUTTON_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 19.8125,
"leftColumn": 42.0,
"dynamicBindingPathList": [
{
"key": "buttonColor"
},
{
"key": "borderRadius"
}
],
"text": "Submit",
"isDisabled": false,
"key": "3sscyxwnhh",
"isDeprecated": false,
"rightColumn": 58.0,
"isDefaultClickDisabled": true,
"widgetId": "bctu2bwm2i",
"isVisible": true,
"recaptchaType": "V3",
"version": 1.0,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"buttonVariant": "PRIMARY",
"placement": "CENTER"
}
]
}
}