Skip to content

Commit 750d38f

Browse files
committed
Minor fixes in a view of c#-porting.
DEVSIX-1646 Autoported commit. Original commit hash: [8d8266f94]
1 parent 9e9a236 commit 750d38f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

itext/itext.layout/itext/layout/renderer/TableWidths.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ private void CalculateTableWidth(float availableWidth, bool calculateTableMaxWid
580580
}
581581
else {
582582
if (!GetTable().IsComplete() && null != GetTable().GetWidth() && GetTable().GetWidth().IsPercentValue()) {
583-
GetTable().SetWidth(tableRenderer.RetrieveUnitValue(availableWidth, Property.WIDTH));
583+
GetTable().SetWidth((float)tableRenderer.RetrieveUnitValue(availableWidth, Property.WIDTH));
584584
}
585585
}
586586
fixedTableWidth = true;

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1527d63525e2a86bae95df065dc124bbdc3001ca
1+
8d8266f944930ec52086fcc1ba9fc73a8f61d45d

0 commit comments

Comments
 (0)