v0.3.4: lots of improvements to text layout

This commit is contained in:
Evan Debenham 2016-01-22 01:49:42 -05:00 committed by Evan Debenham
parent 7ee01e3525
commit bcc0dc1ffe

View File

@ -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() {