From c1a637694edab896046ac18e34b3cc40e2cec9aa Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 25 May 2016 19:45:31 -0400 Subject: [PATCH] v0.4.0: fixed an alignment issue in rankings windows --- .../shatteredpixeldungeon/windows/WndRanking.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndRanking.java b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndRanking.java index 6bb80e61c..cdd4890ef 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndRanking.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndRanking.java @@ -316,9 +316,11 @@ public class WndRanking extends WndTabbed { bg.y = y; slot.setRect( x, y, HEIGHT, HEIGHT ); + PixelScene.align(slot); name.x = slot.right() + 2; name.y = y + (height - name.baseLine()) / 2; + PixelScene.align(name); String str = Messages.titleCase( item.name() ); name.text( str );