Browse Source

REPORT-3163 合作开发9.0设计器=>调整外框架工具条UI

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

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

@ -159,11 +159,12 @@ public class UIEastResizableContainer extends JPanel {
return;
}
topToolPane.setBounds(0, 0, containerWidth, topToolPaneHeight);//0,0,10,462
// topToolPane.setBounds(0, 0, containerWidth, topToolPaneHeight);//0,0,10,462
topToolPane.setBounds(0, 0, leftPaneWidth, topToolPaneHeight);//0,0,10,462
leftPane.setBounds(0, topToolPaneHeight, leftPaneWidth, getHeight() - topToolPaneHeight);
// parameterPane.setBounds(20, 0, 230, getParameterPaneHeight());//10,0,230,462
rightPane.setBounds(leftPaneWidth, topToolPaneHeight, containerWidth-leftPaneWidth, getHeight() - topToolPaneHeight);//20,0,230,0
rightPane.setBounds(leftPaneWidth, 0, containerWidth-leftPaneWidth, getHeight());//20,0,230,0
}
@Override
@ -303,7 +304,7 @@ public class UIEastResizableContainer extends JPanel {
}
}
// g.drawImage(button, 2, ARROW_MARGIN_VERTICAL, 5, toolPaneHeight, null);
g.drawImage(button, 20, 7, 5, 5, null);
g.drawImage(button, 18, 7, 5, 5, null);
}
}

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

@ -175,7 +175,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
}
// leftPane.setLayout(new BoxLayout(leftPane, BoxLayout.Y_AXIS));
leftPane.setBackground(Color.yellow);
leftPane.setBackground(new Color(210, 210, 210));
replaceLeftPane(leftPane);
}

Loading…
Cancel
Save