From 1be33bb0ccee4a1efd2965346103924205aa37aa Mon Sep 17 00:00:00 2001 From: XP Date: Wed, 11 Dec 2024 21:12:58 -0800 Subject: [PATCH] More text fix --- .../java/gg/xp/xivsupport/gui/components/ReadOnlyText.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/xivsupport/src/main/java/gg/xp/xivsupport/gui/components/ReadOnlyText.java b/xivsupport/src/main/java/gg/xp/xivsupport/gui/components/ReadOnlyText.java index 54260659e01..821b8dd4c3e 100644 --- a/xivsupport/src/main/java/gg/xp/xivsupport/gui/components/ReadOnlyText.java +++ b/xivsupport/src/main/java/gg/xp/xivsupport/gui/components/ReadOnlyText.java @@ -53,9 +53,6 @@ public Dimension getPreferredSize() { @Override public void setBounds(int x, int y, int width, int height) { - Rectangle currentBounds = getBounds(); - int currentWidth = currentBounds.width; -// boolean doResize = width - currentWidth > 3 || width - currentWidth < 0; super.setBounds(x, y, width, height); if (!isPreferredSizeSet()) { fakePreferredSize = super.getPreferredSize();