v0.9.1b: fixed layouts issues with blocker text in talents pane
This commit is contained in:
parent
0a1b672685
commit
3c48bad849
|
@ -106,7 +106,9 @@ public class TalentsPane extends ScrollPane {
|
||||||
blocker.y = top;
|
blocker.y = top;
|
||||||
blocker.size(width, height - 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 {
|
public static class TalentTierPane extends Component {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user