v0.3.4: lots of improvements to text layout
This commit is contained in:
parent
7ee01e3525
commit
bcc0dc1ffe
|
@ -20,7 +20,6 @@
|
||||||
*/
|
*/
|
||||||
package com.shatteredpixel.shatteredpixeldungeon.ui;
|
package com.shatteredpixel.shatteredpixeldungeon.ui;
|
||||||
|
|
||||||
import com.watabou.noosa.BitmapText;
|
|
||||||
import com.watabou.noosa.Image;
|
import com.watabou.noosa.Image;
|
||||||
import com.watabou.noosa.NinePatch;
|
import com.watabou.noosa.NinePatch;
|
||||||
import com.watabou.noosa.RenderedText;
|
import com.watabou.noosa.RenderedText;
|
||||||
|
@ -108,7 +107,7 @@ public class RedButton extends Button {
|
||||||
}
|
}
|
||||||
|
|
||||||
public float reqWidth() {
|
public float reqWidth() {
|
||||||
return text.width() + 4;
|
return text.width() + 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
public float reqHeight() {
|
public float reqHeight() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user