Layout add minWidth minHeight maxWidth maxHeight
This commit is contained in:
@@ -705,6 +705,22 @@ var LayoutConfigImpl = /** @class */ (function () {
|
||||
this.weight = w;
|
||||
return this;
|
||||
};
|
||||
LayoutConfigImpl.prototype.configMaxWidth = function (v) {
|
||||
this.maxWidth = v;
|
||||
return this;
|
||||
};
|
||||
LayoutConfigImpl.prototype.configMaxHeight = function (v) {
|
||||
this.maxHeight = v;
|
||||
return this;
|
||||
};
|
||||
LayoutConfigImpl.prototype.configMinWidth = function (v) {
|
||||
this.minWidth = v;
|
||||
return this;
|
||||
};
|
||||
LayoutConfigImpl.prototype.configMinHeight = function (v) {
|
||||
this.minHeight = v;
|
||||
return this;
|
||||
};
|
||||
LayoutConfigImpl.prototype.toModel = function () {
|
||||
return {
|
||||
widthSpec: this.widthSpec,
|
||||
|
@@ -570,6 +570,22 @@ class LayoutConfigImpl {
|
||||
this.weight = w;
|
||||
return this;
|
||||
}
|
||||
configMaxWidth(v) {
|
||||
this.maxWidth = v;
|
||||
return this;
|
||||
}
|
||||
configMaxHeight(v) {
|
||||
this.maxHeight = v;
|
||||
return this;
|
||||
}
|
||||
configMinWidth(v) {
|
||||
this.minWidth = v;
|
||||
return this;
|
||||
}
|
||||
configMinHeight(v) {
|
||||
this.minHeight = v;
|
||||
return this;
|
||||
}
|
||||
toModel() {
|
||||
return {
|
||||
widthSpec: this.widthSpec,
|
||||
|
@@ -2029,6 +2029,22 @@ class LayoutConfigImpl {
|
||||
this.weight = w;
|
||||
return this;
|
||||
}
|
||||
configMaxWidth(v) {
|
||||
this.maxWidth = v;
|
||||
return this;
|
||||
}
|
||||
configMaxHeight(v) {
|
||||
this.maxHeight = v;
|
||||
return this;
|
||||
}
|
||||
configMinWidth(v) {
|
||||
this.minWidth = v;
|
||||
return this;
|
||||
}
|
||||
configMinHeight(v) {
|
||||
this.minHeight = v;
|
||||
return this;
|
||||
}
|
||||
toModel() {
|
||||
return {
|
||||
widthSpec: this.widthSpec,
|
||||
|
Reference in New Issue
Block a user