Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
Mythril382 authored Oct 6, 2023
1 parent 7ab2bb3 commit f96adc8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/rcm/ui/dialogs/BestiaryDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public BestiaryDialog(){
shouldPause = true;

shown(this::rebuild);
addCloseListener();
addClosButton();

entrys.addAll(
RCUnitTypes.neckranea,
Expand All @@ -37,12 +37,12 @@ void rebuild(){
entrys.each(u -> {
t.table(Tex.whiteui, e -> {
// TODO add locks
e.add(u.localizedName).top().grow().left().pad(10f);
e.add(u.localizedName).top().grow().left().pad(20f);
e.row();
e.image(Core.atlas.find(u.name + "-portrait")).size(150f).grow().left().pad(5f);
e.add(u.description).grow().left().pad(10f).padLeft(10f).wrap();
e.image(Core.atlas.find(u.name + "-portrait")).size(150f).grow().left().pad(20f);
e.add(u.description).grow().left().pad(20f).padLeft(20f).wrap();
t.row();
}).pad(10f).growX().color(Pal.darkishGray);
}).pad(20f).growX().color(Pal.darkishGray);
});
}).growX().scrollX(false);
}
Expand Down

0 comments on commit f96adc8

Please sign in to comment.