From bcc0dc1ffea7f899b97e9fff0981d9a6773624a9 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 22 Jan 2016 01:49:42 -0500 Subject: [PATCH] v0.3.4: lots of improvements to text layout --- src/com/shatteredpixel/shatteredpixeldungeon/ui/RedButton.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/ui/RedButton.java b/src/com/shatteredpixel/shatteredpixeldungeon/ui/RedButton.java index 9740c716d..586ef3ea5 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/ui/RedButton.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/ui/RedButton.java @@ -20,7 +20,6 @@ */ package com.shatteredpixel.shatteredpixeldungeon.ui; -import com.watabou.noosa.BitmapText; import com.watabou.noosa.Image; import com.watabou.noosa.NinePatch; import com.watabou.noosa.RenderedText; @@ -108,7 +107,7 @@ public class RedButton extends Button { } public float reqWidth() { - return text.width() + 4; + return text.width() + 3; } public float reqHeight() {