diff --git a/packages/app/src/components/RenderWindow/index.jsx b/packages/app/src/components/RenderWindow/index.jsx index 214e9cad..a1d1188d 100755 --- a/packages/app/src/components/RenderWindow/index.jsx +++ b/packages/app/src/components/RenderWindow/index.jsx @@ -188,24 +188,43 @@ class DefaultWindowRender extends React.Component { position, }) }} - dragHandleClassName="window_topbar" - minWidth={this.props.minWidth ?? "300px"} - minHeight={this.props.minHeight ?? "200px"} + minWidth={ + this.props.minWidth + } + minHeight={ + this.props.minHeight + } + enableResizing={ + this.props.enableResizing ?? true + } + disableDragging={ + this.props.disableDragging ?? false + } + dragHandleClassName={ + this.props.dragHandleClassName ?? "window_topbar" + } + bounds={ + this.props.bounds ?? "#root" + } > -
-
-
{this.props.id}
-
{this.renderActions()}
-
+ { + this.props.useWrapper + ?
+
+
{this.props.id}
+
{this.renderActions()}
+
-
{this.getComponentRender()}
-
+
{this.getComponentRender()}
+
+ : this.props.children + } ) }