v0.6.1: corrected minor issues with journal layout

This commit is contained in:
Evan Debenham 2017-08-13 14:06:52 -04:00
parent 31883b1f9c
commit 6150ed0e35

View File

@ -229,7 +229,7 @@ public class WndJournal extends WndTabbed {
PixelScene.align(title);
content.add(title);
pos += Math.max(ITEM_HEIGHT, title.bottom());
pos += Math.max(ITEM_HEIGHT, title.height());
for (String page : Document.ADVENTURERS_GUIDE.pages()){
GuideItem item = new GuideItem( page );
@ -313,7 +313,7 @@ public class WndJournal extends WndTabbed {
PixelScene.align(title);
content.add(title);
pos += Math.max(ITEM_HEIGHT, title.bottom());
pos += Math.max(ITEM_HEIGHT, title.height());
}
for(Notes.Record rec : keys){
ListItem item = new ListItem( Icons.get(Icons.DEPTH),
@ -338,7 +338,7 @@ public class WndJournal extends WndTabbed {
PixelScene.align(title);
content.add(title);
pos += Math.max(ITEM_HEIGHT, title.bottom());
pos += Math.max(ITEM_HEIGHT, title.height());
}
for (Notes.Record rec : landmarks) {
ListItem item = new ListItem( Icons.get(Icons.DEPTH),