Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new ScreenBuilder("ShowQuestObjective", null) {
- {
- layer(new LayerBuilder("background") {
- {
- backgroundImage("resources/images/Book.png");
- childLayoutAbsoluteInside();
- control(new ScrollPanelBuilder("scrollPanel") {{
- x("100px"); y("100px");
- width("200px"); height("200px");
- set( "vertical", "true" );
- set( "horizontal", "true" );
- panel(new PanelBuilder() {{
- x("0px"); y("135px"); visibleToMouse(false);
- height("40px"); width("100%");
- style("nifty-panel");
- childLayoutAbsoluteInside();
- text(new TextBuilder("textBonusCharacter") {{
- x("10px"); y("20px"); visibleToMouse(false);
- font("resources/fonts/Arial Black.ttf");
- textHAlignCenter(); textVAlignCenter(); width("50px");
- text("Michel Montenegro");
- }});
- }});
- }});
- }
- });
- }
- }.build(nifty);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement