Browse Source

fix

zheng-1641779399395
Lanlan 3 years ago
parent
commit
4aec5671a5
  1. 13
      designer-base/src/main/java/com/fr/design/gui/icontainer/UIEastResizableContainer.java

13
designer-base/src/main/java/com/fr/design/gui/icontainer/UIEastResizableContainer.java

@ -242,7 +242,10 @@ public class UIEastResizableContainer extends JPanel {
* 伸缩右子面板时触发此方法
*/
public void onResize() {
// do nothing here
refreshContainer();
if (DesignModeContext.isAuthorityEditing()) {
DesignerContext.getDesignerFrame().doResize();
}
}
public void showContainer() {
@ -251,10 +254,6 @@ public class UIEastResizableContainer extends JPanel {
}
containerWidth = preferredWidth;
onResize();
refreshContainer();
if (DesignModeContext.isAuthorityEditing()) {
DesignerContext.getDesignerFrame().doResize();
}
}
public void hideContainer() {
@ -264,10 +263,6 @@ public class UIEastResizableContainer extends JPanel {
setPreferredWidth(containerWidth);
containerWidth = leftPaneWidth;
onResize();
refreshContainer();
if (DesignModeContext.isAuthorityEditing()) {
DesignerContext.getDesignerFrame().doResize();
}
}
private class TopToolPane extends JPanel {

Loading…
Cancel
Save