Browse Source

Pull request #6233: REPORT-60992 导出-导出事件-其他模板-点击模板文件后效果错乱

Merge in DESIGN/design from ~PENGDA/design:release/11.0 to release/11.0

* commit '25b2b65066dca667207f2bdd62c0b7464721aee1':
  REPORT-60992 导出-导出事件-其他模板-点击模板文件后效果错乱
bugfix/11.0
pengda 3 years ago
parent
commit
5ca0ea5209
  1. 11
      designer-base/src/main/java/com/fr/design/javascript/ExportJavaScriptPane.java

11
designer-base/src/main/java/com/fr/design/javascript/ExportJavaScriptPane.java

@ -326,16 +326,19 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
private UIButton browserButton;
public ExportTemplateChooser() {
reportletNamePane = FRGUIPaneFactory.createBorderLayout_S_Pane();
// 路径输入框
reportPathTextField = new UITextField(7);
reportPathTextField = new UITextField(8);
reportPathTextField.setEnabled(false);
reportletNamePane.add(reportPathTextField, BorderLayout.WEST);
// 选择路径按钮
browserButton = new UIButton("...");
browserButton.setVisible(true);
reportletNamePane.add(browserButton, BorderLayout.EAST);
Component[][] templateChooserComponent = {{reportPathTextField, browserButton}};
double[] rowSize = {TableLayout.PREFERRED};
double[] columnSize = {TableLayout.FILL, 22};
reportletNamePane = TableLayoutHelper.createCommonTableLayoutPane(templateChooserComponent, rowSize, columnSize, 0);
browserButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent evt) {

Loading…
Cancel
Save