@syncfusion/ej2-layouts 20.2.45 → 20.2.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3020,13 +3020,13 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
3020
3020
  }
3021
3021
  };
3022
3022
  DashboardLayout.prototype.getMinWidth = function (item) {
3023
- return (item.minSizeX) * this.getCellSize()[0];
3023
+ return (((item.minSizeX) * this.getCellSize()[0]) + (item.minSizeX - 1) * this.cellSpacing[0]);
3024
3024
  };
3025
3025
  DashboardLayout.prototype.getMaxWidth = function (item) {
3026
3026
  return (item.maxSizeX) * this.getCellSize()[0];
3027
3027
  };
3028
3028
  DashboardLayout.prototype.getMinHeight = function (item) {
3029
- return (item.minSizeY) * this.getCellSize()[1];
3029
+ return (((item.minSizeY) * this.getCellSize()[1]) + (item.minSizeY - 1) * this.cellSpacing[1]);
3030
3030
  };
3031
3031
  DashboardLayout.prototype.getMaxHeight = function (item) {
3032
3032
  return (item.maxSizeY) * this.getCellSize()[1];