Browse Source

调整提交入库表格右侧按钮大小

fbp/merge
renekton 3 months ago
parent
commit
a997b63eac
  1. 2
      designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java

2
designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java

@ -219,7 +219,7 @@ public class DBManipulationPane extends BasicBeanPane<DBManipulation> {
if (actions != null && actions.length > 0) { if (actions != null && actions.length > 0) {
JPanel controlBtnPane = new JPanel(new BorderLayout()); JPanel controlBtnPane = new JPanel(new BorderLayout());
editTablePane.add(GUICoreUtils.createBorderPane(controlBtnPane, BorderLayout.NORTH), BorderLayout.EAST); editTablePane.add(GUICoreUtils.createBorderPane(controlBtnPane, BorderLayout.NORTH), BorderLayout.EAST);
List<Layouts.Cell> buttonGroup = Arrays.stream(actions).map(action -> cell(new UIButton(action))).collect(Collectors.toList()); List<Layouts.Cell> buttonGroup = Arrays.stream(actions).map(action -> cell(new UIButton(action)).with(it -> it.setPreferredSize(scale(new Dimension(122, 22))))).collect(Collectors.toList());
checkBoxUpdatePane = new JPanel(new BorderLayout(0, 0)); checkBoxUpdatePane = new JPanel(new BorderLayout(0, 0));
checkBoxUpdatePane.setPreferredSize(scale(new Dimension(120, 20))); checkBoxUpdatePane.setPreferredSize(scale(new Dimension(120, 20)));

Loading…
Cancel
Save