mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-22 05:02:34 +00:00
More localisation
This commit is contained in:
1 parent
b6d5901f07
commit
808b04c3b8
24 files changed
+400
-155
No files matched your search
@@ -56,8 +56,8 @@ public class AnalystPageGenome extends ControlAnalystPage {
|
||||
final IAllele allele = active ? ind.getGenome().getActiveAllele(chromo) : ind.getGenome().getInactiveAllele(chromo);
|
||||
final String alleleName = system.getAlleleName(chromo, allele);
|
||||
final int height = CraftGUI.render.textHeight(alleleName, this.width() / 2 - 2);
|
||||
new ControlText(scaled, new Area(0, y + (height - 9) / 2, this.width() / 2 - 2, 0), system.getChromosomeShortName(chromo) + " :", TextJustification.TopRight).setColour(this.getColour());
|
||||
new ControlText(scaled, new Area(this.width() / 2 + 2, y, this.width() / 2 - 2, 0), alleleName, TextJustification.TopLeft).setColour(this.getColour());
|
||||
new ControlText(scaled, new Area(0, y + (height - 9) / 2, this.width() / 2 - 2, 0), system.getChromosomeShortName(chromo) + " :", TextJustification.TOP_RIGHT).setColour(this.getColour());
|
||||
new ControlText(scaled, new Area(this.width() / 2 + 2, y, this.width() / 2 - 2, 0), alleleName, TextJustification.TOP_LEFT).setColour(this.getColour());
|
||||
y += 3 + height;
|
||||
}
|
||||
this.setSize(new Point(this.width(), y + 8));
|
||||
|
||||
Reference in new issue
Block a user