Browse Source

REPORT-42913 之前想多了,这个在调用的时候还没开始渲染整个左侧的面板,此时拿不到父容器高度

bugfix/10.0
Yvan 4 years ago
parent
commit
57d997f141
  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 = Math.min(toolPaneY, (getHeight() - toolPaneHeight));
this.toolPaneY = toolPaneY;
}
/**

Loading…
Cancel
Save