diff --git a/doric-js/bundle/doric-lib.es5.js b/doric-js/bundle/doric-lib.es5.js index 2ad28c69..b9c04d57 100644 --- a/doric-js/bundle/doric-lib.es5.js +++ b/doric-js/bundle/doric-lib.es5.js @@ -751,7 +751,7 @@ var LayoutConfigImpl = /** @class */ (function () { return this; }; LayoutConfigImpl.prototype.mostHeight = function () { - this.widthSpec = exports.LayoutSpec.MOST; + this.heightSpec = exports.LayoutSpec.MOST; return this; }; LayoutConfigImpl.prototype.just = function () { diff --git a/doric-js/bundle/doric-lib.js b/doric-js/bundle/doric-lib.js index cd2b1d00..bc2ff67d 100644 --- a/doric-js/bundle/doric-lib.js +++ b/doric-js/bundle/doric-lib.js @@ -637,7 +637,7 @@ class LayoutConfigImpl { return this; } mostHeight() { - this.widthSpec = exports.LayoutSpec.MOST; + this.heightSpec = exports.LayoutSpec.MOST; return this; } just() { diff --git a/doric-js/bundle/doric-vm.js b/doric-js/bundle/doric-vm.js index b7a3f4bb..2c5cff12 100644 --- a/doric-js/bundle/doric-vm.js +++ b/doric-js/bundle/doric-vm.js @@ -2158,7 +2158,7 @@ class LayoutConfigImpl { return this; } mostHeight() { - this.widthSpec = exports.LayoutSpec.MOST; + this.heightSpec = exports.LayoutSpec.MOST; return this; } just() { diff --git a/doric-js/lib/src/util/layoutconfig.js b/doric-js/lib/src/util/layoutconfig.js index 4c653e4e..69e902bd 100644 --- a/doric-js/lib/src/util/layoutconfig.js +++ b/doric-js/lib/src/util/layoutconfig.js @@ -37,7 +37,7 @@ export class LayoutConfigImpl { return this; } mostHeight() { - this.widthSpec = LayoutSpec.MOST; + this.heightSpec = LayoutSpec.MOST; return this; } just() { diff --git a/doric-js/src/util/layoutconfig.ts b/doric-js/src/util/layoutconfig.ts index a46f3272..07fdc4cc 100644 --- a/doric-js/src/util/layoutconfig.ts +++ b/doric-js/src/util/layoutconfig.ts @@ -98,7 +98,7 @@ export class LayoutConfigImpl implements LayoutConfig, Modeling { } mostHeight() { - this.widthSpec = LayoutSpec.MOST + this.heightSpec = LayoutSpec.MOST return this } diff --git a/doric-web/dist/index.js b/doric-web/dist/index.js index de632ac5..ec8532c3 100644 --- a/doric-web/dist/index.js +++ b/doric-web/dist/index.js @@ -2212,7 +2212,7 @@ class LayoutConfigImpl { return this; } mostHeight() { - this.widthSpec = exports.LayoutSpec.MOST; + this.heightSpec = exports.LayoutSpec.MOST; return this; } just() {