v2.5.0: fixed layout errors in zh/jp on journal scene title
This commit is contained in:
@@ -82,6 +82,7 @@ public class JournalScene extends PixelScene {
|
|||||||
float top = 20;
|
float top = 20;
|
||||||
|
|
||||||
IconTitle title = new IconTitle( Icons.JOURNAL.get(), Messages.get(this, "title") );
|
IconTitle title = new IconTitle( Icons.JOURNAL.get(), Messages.get(this, "title") );
|
||||||
|
title.setSize(200, 0);
|
||||||
title.setPos(
|
title.setPos(
|
||||||
(w - title.reqWidth()) / 2f,
|
(w - title.reqWidth()) / 2f,
|
||||||
(top - title.height()) / 2f
|
(top - title.height()) / 2f
|
||||||
|
|||||||
Reference in New Issue
Block a user