From f789fc0a8f93910ca1bad3e33b5e3c5bec985757 Mon Sep 17 00:00:00 2001 From: mengao <283296419@qq.com> Date: Mon, 4 Sep 2017 14:37:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8C=83=E5=9B=B4=E5=9B=BE?= =?UTF-8?q?=E4=BE=8B=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/plugin/chart/range/component/LegendGradientBar.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/designer_chart/src/com/fr/plugin/chart/range/component/LegendGradientBar.java b/designer_chart/src/com/fr/plugin/chart/range/component/LegendGradientBar.java index 782fc1b795..b13c21352f 100644 --- a/designer_chart/src/com/fr/plugin/chart/range/component/LegendGradientBar.java +++ b/designer_chart/src/com/fr/plugin/chart/range/component/LegendGradientBar.java @@ -39,7 +39,7 @@ public class LegendGradientBar extends JComponent implements ColorSelectable, UI //主题色 private Color subColor; - private int max = 154; + private int max = 150; private int min = 4; //选中的颜色 @@ -77,7 +77,7 @@ public class LegendGradientBar extends JComponent implements ColorSelectable, UI iniListener(); - this.setPreferredSize(new Dimension(10 + max, MAX_VERTICAL)); + this.setPreferredSize(new Dimension(5 + max, MAX_VERTICAL)); } private void initColorsAndDist() {