Browse Source

Pull request #2482: REPORT-38557 修复【JDK11】添加控件图标的面板里输入框显示不全

Merge in DESIGN/design from ~HADES/design:release/10.0 to release/10.0

* commit 'ed5fb8dafbfe2d04ae60fcc44befbf4cbedab61c':
  REPORT-38557 修复【JDK11】添加控件图标的面板里输入框显示不全
feature/big-screen
Hades 4 years ago
parent
commit
b46e5fd497
  1. 3
      designer-base/src/main/java/com/fr/design/web/CustomIconPane.java

3
designer-base/src/main/java/com/fr/design/web/CustomIconPane.java

@ -404,7 +404,6 @@ public class CustomIconPane extends BasicPane {
double p = TableLayout.PREFERRED;
double[] rowSize = {p, p};
double[] columnSize = {p, p};
int[][] rowCount = {{1, 1}, {1, 1}};
UIButton browseButton = new UIButton(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Custom_Icon_SelectIcon"));
browseButton.setPreferredSize(new Dimension(80, 25));
browseButton.setToolTipText(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Click_this_button"));
@ -443,7 +442,7 @@ public class CustomIconPane extends BasicPane {
imagePane.add(browseButton);
Component[][] components = {{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Name") + ":"), nameTextField}, {new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Icon") + ":"), imagePane}};
JPanel centerPane = TableLayoutHelper.createGapTableLayoutPane(components, rowSize, columnSize, rowCount, IntervalConstants.INTERVAL_W0, IntervalConstants.INTERVAL_L1);
JPanel centerPane = TableLayoutHelper.createTableLayoutPane(components, rowSize, columnSize);
this.add(centerPane, BorderLayout.CENTER);
}

Loading…
Cancel
Save