@schneideress/dashboardframework 0.0.207 → 0.0.209

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.
@@ -1901,10 +1901,7 @@
1901
1901
  size.width = this.width;
1902
1902
  size.cellHeight = this.gridCellHeight;
1903
1903
  this.widgetElement.widgetResized(size);
1904
- if (this.widgetElement.titleLineEnabledFor1xView() && (this.height == 1 || this.width == 1))
1905
- this.enableTitleLine = true;
1906
- else
1907
- this.enableTitleLine = this.enableTitleLineActual;
1904
+ this.setTitleLineFor1xView();
1908
1905
  }
1909
1906
  };
1910
1907
  /**
@@ -2264,6 +2261,7 @@
2264
2261
  return [4 /*yield*/, widgetContainer.setDownloadIcon()];
2265
2262
  case 2:
2266
2263
  _a.sent();
2264
+ this.setTitleLineFor1xView();
2267
2265
  return [2 /*return*/];
2268
2266
  }
2269
2267
  });
@@ -2766,6 +2764,22 @@
2766
2764
  else
2767
2765
  this.noPadding = false;
2768
2766
  };
2767
+ /**
2768
+ * @private
2769
+ * @return {?}
2770
+ */
2771
+ RAWidgetContainer.prototype.setTitleLineFor1xView = /**
2772
+ * @private
2773
+ * @return {?}
2774
+ */
2775
+ function () {
2776
+ /** @type {?} */
2777
+ var titleLineEnabled1x = this.widgetElement.titleLineEnabledFor1xView();
2778
+ if (typeof (titleLineEnabled1x) != 'undefined' && titleLineEnabled1x && (this.height == 1 || this.width == 1))
2779
+ this.enableTitleLine = true;
2780
+ else
2781
+ this.enableTitleLine = this.enableTitleLineActual;
2782
+ };
2769
2783
  RAWidgetContainer.decorators = [
2770
2784
  { type: core.Component, args: [{
2771
2785
  selector: 'ra-widget-container',