v0.6.1: corrected minor issues with journal layout
This commit is contained in:
parent
31883b1f9c
commit
6150ed0e35
|
@ -229,7 +229,7 @@ public class WndJournal extends WndTabbed {
|
||||||
PixelScene.align(title);
|
PixelScene.align(title);
|
||||||
content.add(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()){
|
for (String page : Document.ADVENTURERS_GUIDE.pages()){
|
||||||
GuideItem item = new GuideItem( page );
|
GuideItem item = new GuideItem( page );
|
||||||
|
@ -313,7 +313,7 @@ public class WndJournal extends WndTabbed {
|
||||||
PixelScene.align(title);
|
PixelScene.align(title);
|
||||||
content.add(title);
|
content.add(title);
|
||||||
|
|
||||||
pos += Math.max(ITEM_HEIGHT, title.bottom());
|
pos += Math.max(ITEM_HEIGHT, title.height());
|
||||||
}
|
}
|
||||||
for(Notes.Record rec : keys){
|
for(Notes.Record rec : keys){
|
||||||
ListItem item = new ListItem( Icons.get(Icons.DEPTH),
|
ListItem item = new ListItem( Icons.get(Icons.DEPTH),
|
||||||
|
@ -338,7 +338,7 @@ public class WndJournal extends WndTabbed {
|
||||||
PixelScene.align(title);
|
PixelScene.align(title);
|
||||||
content.add(title);
|
content.add(title);
|
||||||
|
|
||||||
pos += Math.max(ITEM_HEIGHT, title.bottom());
|
pos += Math.max(ITEM_HEIGHT, title.height());
|
||||||
}
|
}
|
||||||
for (Notes.Record rec : landmarks) {
|
for (Notes.Record rec : landmarks) {
|
||||||
ListItem item = new ListItem( Icons.get(Icons.DEPTH),
|
ListItem item = new ListItem( Icons.get(Icons.DEPTH),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user