v0.9.1b: fixed layouts issues with blocker text in talents pane

This commit is contained in:
Evan Debenham 2020-12-23 19:40:52 -05:00
parent 0a1b672685
commit 3c48bad849

View File

@ -106,7 +106,9 @@ public class TalentsPane extends ScrollPane {
blocker.y = top;
blocker.size(width, height - top);
blockText.setPos((width - blockText.width())/2f, blocker.y + (height - blocker.y)/2 - 3);
blockText.maxWidth((int)width);
blockText.align(RenderedTextBlock.CENTER_ALIGN);
blockText.setPos((width - blockText.width())/2f, blocker.y + (height - blocker.y - blockText.height())/2);
}
public static class TalentTierPane extends Component {