From a1d545252b40779a6931932d651bc4b015895edd Mon Sep 17 00:00:00 2001 From: hades Date: Fri, 29 Apr 2022 10:38:23 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-70452=20=20fix=20=E7=BB=98=E5=88=B6?= =?UTF-8?q?=E7=A9=BAborder=20&&=20=E6=B8=85=E7=A9=BA=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E9=80=BB=E8=BE=91=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mainframe/alphafine/component/AlphaFineTextField.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java b/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java index fafe0f60a..b745b0de9 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java @@ -40,6 +40,11 @@ public class AlphaFineTextField extends UITextField { g2.drawString(placeHolder, getInsets().left, g.getFontMetrics().getMaxAscent() + getInsets().top + PLACE_HOLDER_GAP); } + @Override + protected void paintBorder(Graphics g) { + // do nothing + } + public String getPlaceHolder() { return placeHolder; }