xiaoxia 8 years ago
parent
commit
5f0ead4b9a
  1. 4
      designer_form/src/com/fr/design/mainframe/FormWidgetDetailPane.java

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

@ -51,6 +51,8 @@ public class FormWidgetDetailPane extends FormDockView{
private UIComboBox comboBox; private UIComboBox comboBox;
private ElCaseBindInfo[] elCaseBindInfoList; private ElCaseBindInfo[] elCaseBindInfoList;
private UIButton downloadButton; private UIButton downloadButton;
private static final int OFFSET_X = 140;
private static final int OFFSET_Y = 26;
public static FormWidgetDetailPane getInstance() { public static FormWidgetDetailPane getInstance() {
if (HOLDER.singleton == null) { if (HOLDER.singleton == null) {
@ -173,7 +175,7 @@ public class FormWidgetDetailPane extends FormDockView{
dlg.setVisible(true); dlg.setVisible(true);
} }
}); });
GUICoreUtils.showPopupMenu(menu, tabbedPane, tabbedPane.getX() + 140, tabbedPane.getY() + 26); GUICoreUtils.showPopupMenu(menu, tabbedPane, tabbedPane.getX() + OFFSET_X, tabbedPane.getY() + OFFSET_Y);
} }
}); });

Loading…
Cancel
Save