xiaoxia 8 years ago
parent
commit
a15aabfb62
  1. 5
      designer_base/src/com/fr/design/gui/icontainer/UIResizableContainer.java

5
designer_base/src/com/fr/design/gui/icontainer/UIResizableContainer.java

@ -208,7 +208,7 @@ public class UIResizableContainer extends JPanel {
upPane.setBounds(0, 0, containerWidth - toolPaneHeight, getHeight());
verticalToolPane.setBounds(containerWidth - toolPaneHeight, 0, toolPaneHeight, getHeight());
}
} else if (direction == Constants.LEFT && parent instanceof EastRegionContainerPane) {
} else if (direction == Constants.LEFT) {
if(isDownPaneVisible){
if (toolPaneY > getHeight() - toolPaneHeight) {
toolPaneY = getHeight() - toolPaneHeight;
@ -219,7 +219,8 @@ public class UIResizableContainer extends JPanel {
downPane.setBounds(toolPaneHeight, toolPaneY + toolPaneHeight + getParameterPaneHeight(), containerWidth - toolPaneHeight, parent.getHeight() - toolPaneY - toolPaneHeight - getParameterPaneHeight());
verticalToolPane.setBounds(0, 0, toolPaneHeight, getHeight());
}else {
upPane.setBounds(toolPaneHeight, 0, containerWidth - toolPaneHeight, getHeight());
parameterPane.setBounds(20, 0, 230, getParameterPaneHeight());
upPane.setBounds(toolPaneHeight, getParameterPaneHeight(), containerWidth - toolPaneHeight, getHeight() - getParameterPaneHeight());
verticalToolPane.setBounds(0, 0, toolPaneHeight, getHeight());
}
}

Loading…
Cancel
Save