Browse Source

REPORT-42913 为设置上一次关闭设计器时upPane高度加上一个判断,避免upPane高度超过容器总高度

bugfix/10.0
Yvan 4 years ago
parent
commit
57440714a8
  1. 2
      designer-base/src/main/java/com/fr/design/gui/icontainer/UIResizableContainer.java

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

@ -164,7 +164,7 @@ public class UIResizableContainer extends JPanel {
* @param toolPaneY
*/
public void setLastToolPaneY(int toolPaneY) {
this.toolPaneY = toolPaneY;
this.toolPaneY = Math.min(toolPaneY, (getHeight() - toolPaneHeight));
}
/**

Loading…
Cancel
Save