Browse Source

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

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

5
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() {

2
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;

Loading…
Cancel
Save