BF [ 1673620 ] table report - image overflows over next fields
This commit is contained in:
parent
983af06ab8
commit
69336cd9a0
|
@ -300,6 +300,10 @@ public class TableElement extends PrintElement
|
||||||
dataSizes[row][col].addBelow(
|
dataSizes[row][col].addBelow(
|
||||||
new Dimension((int)((ImageElement)dataItem).getWidth(),
|
new Dimension((int)((ImageElement)dataItem).getWidth(),
|
||||||
(int)((ImageElement)dataItem).getHeight()));
|
(int)((ImageElement)dataItem).getHeight()));
|
||||||
|
// Adjust the column width - teo_sarca, [ 1673620 ]
|
||||||
|
float width = (float)Math.ceil(dataSizes[row][col].getWidth());
|
||||||
|
if (colWidth < width)
|
||||||
|
colWidth = width;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (dataItem instanceof BarcodeElement)
|
else if (dataItem instanceof BarcodeElement)
|
||||||
|
|
Loading…
Reference in New Issue