From 14b9bacf37eebe14875cecef06c324d2722b258a Mon Sep 17 00:00:00 2001 From: plough Date: Wed, 26 Jul 2017 11:58:17 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-3163=20=E5=90=88=E4=BD=9C=E5=BC=80?= =?UTF-8?q?=E5=8F=919.0=E8=AE=BE=E8=AE=A1=E5=99=A8=3D>=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=A4=96=E6=A1=86=E6=9E=B6=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/gui/icontainer/UIEastResizableContainer.java | 5 ++++- .../src/com/fr/design/mainframe/EastRegionContainerPane.java | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/designer_base/src/com/fr/design/gui/icontainer/UIEastResizableContainer.java b/designer_base/src/com/fr/design/gui/icontainer/UIEastResizableContainer.java index 85e11d8d7..19390a784 100644 --- a/designer_base/src/com/fr/design/gui/icontainer/UIEastResizableContainer.java +++ b/designer_base/src/com/fr/design/gui/icontainer/UIEastResizableContainer.java @@ -132,7 +132,10 @@ public class UIEastResizableContainer extends JPanel { * @param containerWidth */ public void setLastContainerWidth(int containerWidth) { - this.containerWidth = containerWidth; + if (containerWidth == leftPaneWidth) { + this.containerWidth = containerWidth; + } + // 忽略其他情况 } private LayoutManager containerLayout = new LayoutManager() { diff --git a/designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java b/designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java index 7f96747d5..2027c4483 100644 --- a/designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java +++ b/designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java @@ -28,7 +28,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer { private JPanel leftPane; private JPanel rightPane; private FixedPopupPane currentPopupPane; - private static final int CONTAINER_WIDTH = 260; + private static final int CONTAINER_WIDTH = 290; private static final int TAB_WIDTH = 40; private static final int CONTENT_WIDTH = CONTAINER_WIDTH - TAB_WIDTH; private static final int POPUP_TOOLPANE_HEIGHT = 25;