Browse Source

REPORT-3163 合作开发9.0设计器=>调整外框架宽度

master
plough 7 years ago
parent
commit
14b9bacf37
  1. 3
      designer_base/src/com/fr/design/gui/icontainer/UIEastResizableContainer.java
  2. 2
      designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java

3
designer_base/src/com/fr/design/gui/icontainer/UIEastResizableContainer.java

@ -132,8 +132,11 @@ public class UIEastResizableContainer extends JPanel {
* @param containerWidth * @param containerWidth
*/ */
public void setLastContainerWidth(int containerWidth) { public void setLastContainerWidth(int containerWidth) {
if (containerWidth == leftPaneWidth) {
this.containerWidth = containerWidth; this.containerWidth = containerWidth;
} }
// 忽略其他情况
}
private LayoutManager containerLayout = new LayoutManager() { private LayoutManager containerLayout = new LayoutManager() {

2
designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java

@ -28,7 +28,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
private JPanel leftPane; private JPanel leftPane;
private JPanel rightPane; private JPanel rightPane;
private FixedPopupPane currentPopupPane; 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 TAB_WIDTH = 40;
private static final int CONTENT_WIDTH = CONTAINER_WIDTH - TAB_WIDTH; private static final int CONTENT_WIDTH = CONTAINER_WIDTH - TAB_WIDTH;
private static final int POPUP_TOOLPANE_HEIGHT = 25; private static final int POPUP_TOOLPANE_HEIGHT = 25;

Loading…
Cancel
Save