xiaoxia 8 years ago
parent
commit
e964790060
  1. BIN
      designer_form/src/com/fr/design/form/images/download.png
  2. 2
      designer_form/src/com/fr/design/mainframe/FormWidgetDetailPane.java
  3. 6
      designer_form/src/com/fr/design/parameter/ParameterPropertyPane.java

BIN
designer_form/src/com/fr/design/form/images/download.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 B

2
designer_form/src/com/fr/design/mainframe/FormWidgetDetailPane.java

@ -97,7 +97,7 @@ public class FormWidgetDetailPane extends FormDockView{
reuWidgetPanel.setBorder(new LineBorder(Color.gray)); reuWidgetPanel.setBorder(new LineBorder(Color.gray));
esp.add(reuWidgetPanel, BorderLayout.CENTER); esp.add(reuWidgetPanel, BorderLayout.CENTER);
UIButton button = new UIButton(); UIButton button = new UIButton();
button.setIcon(BaseUtils.readIcon("/com/fr/design/images/control/download.png")); button.setIcon(BaseUtils.readIcon("/com/fr/design/form/images/download.png"));
button.set4ToolbarButton(); button.set4ToolbarButton();
JPanel widgetPane = FRGUIPaneFactory.createBorderLayout_L_Pane(); JPanel widgetPane = FRGUIPaneFactory.createBorderLayout_L_Pane();
widgetPane.setBorder(BorderFactory.createEmptyBorder(3, 10, 3, 3)); widgetPane.setBorder(BorderFactory.createEmptyBorder(3, 10, 3, 3));

6
designer_form/src/com/fr/design/parameter/ParameterPropertyPane.java

@ -47,13 +47,13 @@ public class ParameterPropertyPane extends JPanel{
initParameterListener(); initParameterListener();
this.setLayout(new BorderLayout(0, 6)); this.setLayout(new BorderLayout(0, 6));
this.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); this.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 10));
this.add(toolbarPane, BorderLayout.NORTH); this.add(toolbarPane, BorderLayout.CENTER);
} }
private void setEditor(FormDesigner editor) { private void setEditor(FormDesigner editor) {
this.remove(FormHierarchyTreePane.getInstance()); this.remove(FormHierarchyTreePane.getInstance());
this.add(FormHierarchyTreePane.getInstance(editor), BorderLayout.CENTER); this.add(FormHierarchyTreePane.getInstance(editor), BorderLayout.NORTH);
} }
private void initParameterListener() { private void initParameterListener() {

Loading…
Cancel
Save