From da0fc69398924f9ce1d0043670bfc9199f63fef8 Mon Sep 17 00:00:00 2001 From: renekton Date: Fri, 16 Aug 2024 19:33:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9width?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../design/mainframe/theme/edit/chart/ChartLabelStylePane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/theme/edit/chart/ChartLabelStylePane.java b/designer-base/src/main/java/com/fr/design/mainframe/theme/edit/chart/ChartLabelStylePane.java index 29c73aedbe..8892b0d0d4 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/theme/edit/chart/ChartLabelStylePane.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/theme/edit/chart/ChartLabelStylePane.java @@ -39,7 +39,7 @@ public class ChartLabelStylePane extends AbstractChartStylePane { @Override public Dimension getPreferredSize() { - return new Dimension(-1, FineUIScale.scale(100)); + return new Dimension(super.getPreferredSize().width, FineUIScale.scale(100)); } }; initListener();