From a997b63eac956e875c62a647ccf21d007764a818 Mon Sep 17 00:00:00 2001 From: renekton Date: Fri, 20 Sep 2024 17:13:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8F=90=E4=BA=A4=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E8=A1=A8=E6=A0=BC=E5=8F=B3=E4=BE=A7=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/design/write/submit/DBManipulationPane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java b/designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java index 01dafb590b..59a58f52d8 100644 --- a/designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java +++ b/designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java @@ -219,7 +219,7 @@ public class DBManipulationPane extends BasicBeanPane { if (actions != null && actions.length > 0) { JPanel controlBtnPane = new JPanel(new BorderLayout()); editTablePane.add(GUICoreUtils.createBorderPane(controlBtnPane, BorderLayout.NORTH), BorderLayout.EAST); - List buttonGroup = Arrays.stream(actions).map(action -> cell(new UIButton(action))).collect(Collectors.toList()); + List 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.setPreferredSize(scale(new Dimension(120, 20)));