CuteEditor for .NET

Setting the image gallery dialog's Ornaments

You can easily set the image gallery dialog's Ornaments by editing the following file:

CuteSoft_Client\CuteEditor\Scripts\Constant.js

For Image Gallery dialg, you need to edit the following code:

// Default window ornaments for the gallery dialog
editorconstant._galleryDialogFeature = "dialogWidth:564px;dialogHeight:540px;resizable:1";

For insert Image dialog, you need to edit the following code:

// Default window ornaments for the image dialog
editorconstant._imageDialogFeature = "dialogWidth:620px;dialogHeight:540px;resizable:1";

String that specifies the window ornaments for the dialog box, using one or more of the following semicolon-delimited values:

dialogHeight:sHeight Sets the height of the dialog window.
dialogWidth:sWidth Sets the width of the dialog window.
resizable:{ yes | no | 1 | 0 | on | off } Specifies whether the dialog window has fixed dimensions. The default is 1.