Browse Source

Pull request #1804: REPORT-33103 合并单元格时将用来覆盖网格的矩形的height减小0.5

Merge in DESIGN/design from ~YUAN.WANG/design:bugfix/10.0 to bugfix/10.0

* commit '79c961546ce0cfaea879d0408fce3b1a1c382a44':
  REPORT-33103 合并单元格时将用来覆盖网格的矩形的height减小0.5
bugfix/10.0
Yuan.Wang 4 years ago
parent
commit
bc0c8e457c
  1. 2
      designer-realize/src/main/java/com/fr/grid/GridUI.java

2
designer-realize/src/main/java/com/fr/grid/GridUI.java

@ -481,7 +481,7 @@ public class GridUI extends ComponentUI {
// peter:tmpRectangle2D_3只是一个临时的Rectangle2D,由于后面不少地方需要用到这个矩形
this.cell_back_rect.setRect(0, 0, this.tmpRectangle.getWidth() - 1,
this.tmpRectangle.getHeight() - 1);
this.tmpRectangle.getHeight() - 1.5);
// peter:对于合并的单元格,需要先白色的背景来清除背景.
if (tmpCellElement.getColumnSpan() > 1 || tmpCellElement.getRowSpan() > 1) {
// REPORT-23492 要看下是否设置了纸张背景 如果设置了按照背景来画

Loading…
Cancel
Save