Browse Source

弹窗已经缩放,间距变大导致的遮挡,拉长20

fbp/release
renekton 3 months ago
parent
commit
98b81e8924
  1. 8
      designer-base/src/main/java/com/fr/design/dialog/UIDetailErrorLinkDialog.java

8
designer-base/src/main/java/com/fr/design/dialog/UIDetailErrorLinkDialog.java

@ -56,7 +56,7 @@ public class UIDetailErrorLinkDialog extends UIDialog {
private static final String TAG_A_END = "</a>"; private static final String TAG_A_END = "</a>";
private static final double SCALE = 1.2; private static final double SCALE = 1.2;
private final Dimension dimension = new Dimension(360, 180); private final Dimension dimension = new Dimension(360, 200);
public static Builder newBuilder() { public static Builder newBuilder() {
return new Builder(); return new Builder();
@ -99,8 +99,10 @@ public class UIDetailErrorLinkDialog extends UIDialog {
contentPane.add(link, BorderLayout.SOUTH); contentPane.add(link, BorderLayout.SOUTH);
// 确定 + 取消 // 确定 + 取消
JPanel actionPane = new JPanel(new FlowLayout(FlowLayout.RIGHT, GAP_10, GAP_8)); JPanel actionPane = new JPanel(new FlowLayout(FlowLayout.RIGHT, GAP_8, GAP_10));
actionPane.add(createButton(Toolkit.i18nText("Fine-Design_Report_OK"))); UIButton okButton = createButton(Toolkit.i18nText("Fine-Design_Report_OK"));
FineUIStyle.setStyle(okButton, FineUIStyle.STYLE_PRIMARY);
actionPane.add(okButton);
actionPane.add(createButton(Toolkit.i18nText("Fine-Design_Basic_Cancel"))); actionPane.add(createButton(Toolkit.i18nText("Fine-Design_Basic_Cancel")));
this.getContentPane().add(column(10, this.getContentPane().add(column(10,

Loading…
Cancel
Save