Browse Source

Pull request #4565: REPORT-52871 聚合报表部分内容不显示

Merge in DESIGN/design from ~HADES/design:bugfix/10.0 to bugfix/10.0

* commit '09f268e4b58cc36a5530c125492ccdf9fa2f0c8c':
  REPORT-52871 聚合报表部分内容不显示,点击之后才可显示完全
bugfix/10.0
Hades 3 years ago
parent
commit
7f556d13bd
  1. 6
      designer-realize/src/main/java/com/fr/poly/creator/PolyElementCasePane.java

6
designer-realize/src/main/java/com/fr/poly/creator/PolyElementCasePane.java

@ -13,12 +13,18 @@ import com.fr.report.poly.PolyECBlock;
*/
public abstract class PolyElementCasePane extends ElementCasePane<PolyECBlock> {
/**
* 水平方向在一个屏幕内可见的可扩展的列数
*/
private static final int HORIZONTAL_EXTENT_VALUE = 200;
public PolyElementCasePane(PolyECBlock block) {
super(block);
setSelection(new CellSelection(0, 0, 1, 1));
// 都不加这两个组件,当然他们也就没可见性了
setHorizontalScrollBarVisible(false);
setVerticalScrollBarVisible(false);
this.getGrid().setHorizontalExtent(HORIZONTAL_EXTENT_VALUE);
}
@Override

Loading…
Cancel
Save