Browse Source

REPORT-46779 报表预览第一行显示不全

feature/big-screen
vito 4 years ago
parent
commit
fe408bb274
  1. 2
      designer-base/src/main/java/com/fr/design/gui/icontainer/UIModeControlContainer.java

2
designer-base/src/main/java/com/fr/design/gui/icontainer/UIModeControlContainer.java

@ -166,10 +166,10 @@ public class UIModeControlContainer extends JLayeredPane {
} }
// 拖动的距离,为正值表示往下拖动,为负值表示往上拖动 // 拖动的距离,为正值表示往下拖动,为负值表示往上拖动
int deltaY = e.getY(); int deltaY = e.getY();
toolPaneY += deltaY;
if (toolPaneY < 0) { if (toolPaneY < 0) {
toolPaneY = 0; toolPaneY = 0;
} }
toolPaneY += deltaY;
onResize(toolPaneY); onResize(toolPaneY);
refreshContainer(); refreshContainer();
} }

Loading…
Cancel
Save