Browse Source

REPORT-113994 【NewUI】面板遗留问题解决

newui
Levy.Xie-解安森 5 months ago
parent
commit
a4817ff626
  1. 11
      designer-realize/src/main/java/com/fr/design/report/ReportColumnsPane.java

11
designer-realize/src/main/java/com/fr/design/report/ReportColumnsPane.java

@ -100,12 +100,19 @@ public class ReportColumnsPane extends BasicPane{
}
};
north.setPreferredSize(FineUIScale.scale(new Dimension(549, 59)));
north.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(11, 23, 6, 23), new UIRoundedBorder(new Color(204, 204, 204), 1, 10)));
north.setBorder(BorderFactory.createCompoundBorder(new ScaledEmptyBorder(11, 23, 6, 23), new UIRoundedBorder(new Color(204, 204, 204), 1, 10)));
String[] textArray = new String[] {
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Base_TurnOn"), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Base_TurnOff")
};
onOffButtonGroup = new UIButtonGroup(textArray);
onOffButtonGroup = new UIButtonGroup(textArray) {
@Override
protected void initButton(UIToggleButton labelButton, int index) {
labelButton.setSize(FineUIScale.scale(new Dimension(60,20)));
labelButton.setPreferredSize(FineUIScale.scale(new Dimension(60, 20)));
super.initButton(labelButton, index);
}
};
onOffButtonGroup.addActionListener(onOffListener);
UILabel uiLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_ReportColumns_Columns"));

Loading…
Cancel
Save