modifications make to table-row files to correct table-row height property. Code was previously using height.height ini setHeight but should instead be using value.

This commit is contained in:
SoapyD
2020-07-16 12:37:24 +00:00
parent e2d8f1b6b1
commit 6b3d1d5579
4 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ export interface ITableRowOptions {
readonly cantSplit?: boolean;
readonly tableHeader?: boolean;
readonly height?: {
readonly height: number;
readonly value: number;
readonly rule: HeightRule;
};
readonly children: TableCell[];
@ -34,7 +34,7 @@ export class TableRow extends XmlComponent {
}
if (options.height) {
this.properties.setHeight(options.height.height, options.height.rule);
this.properties.setHeight(options.height.value, options.height.rule);
}
}