Browse Source

Pull request #12353: REPORT-98932 设计器拖动至屏幕外时触发弹出框后无法进行操作

Merge in DESIGN/design from ~OBO/design1:release/11.0 to release/11.0

* commit '38bd784adeddacd5db5821a82456e91b2c6bc3f3':
  REPORT-98932 设计器拖动至屏幕外时触发弹出框后无法进行操作
  REPORT-98932 设计器拖动至屏幕外时触发弹出框后无法进行操作
release/11.0
Obo-王学仁 1 year ago
parent
commit
abfd76032c
  1. 4
      designer-base/src/main/java/com/fr/design/style/color/ColorSelectDialog.java

4
designer-base/src/main/java/com/fr/design/style/color/ColorSelectDialog.java

@ -79,6 +79,7 @@ public class ColorSelectDialog extends MiddleChartDialog{
this.seletePane = seletePane;
initComponent();
this.pane.populate(initialColor);
this.setLocationRelativeTo(null);
}
private void initComponent() {
@ -87,7 +88,8 @@ public class ColorSelectDialog extends MiddleChartDialog{
this.setBasicDialogSize(545,500);
this.setResizable(false);
this.applyClosingAction();
this.applyEscapeAction();
JPanel buttonPane = new JPanel();
buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));

Loading…
Cancel
Save