30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
// Sample custom UI page template for the MMORPG player-info screen.
|
|
//
|
|
// This is a SCAFFOLD: the exact .ui markup grammar is defined by the Hytale client and must be
|
|
// validated in-game. The plugin works today without this file because PlayerInfoPage builds its
|
|
// layout with inline markup. Use this template when you want a richer designed layout, then have
|
|
// PlayerInfoPage.build() append "Pages/MmorpgPlayerInfo.ui" and set the named fields below.
|
|
//
|
|
// Named fields the server can target via UICommandBuilder.set(...):
|
|
// #Title.Text - page title
|
|
// #Content - vertical container the server appends one Label per attribute into
|
|
// #CloseButton - close/dismiss button (bind via UIEventBuilder)
|
|
|
|
Panel {
|
|
Style: (Width: 420; Anchor: Center; Padding: 16; Background: (Color: #1b1b1fEE));
|
|
|
|
Label #Title {
|
|
Text: "Profil MMORPG";
|
|
Style: (Alignment: Center; FontSize: 20; MarginBottom: 12);
|
|
}
|
|
|
|
VerticalList #Content {
|
|
Style: (Spacing: 4);
|
|
}
|
|
|
|
Button #CloseButton {
|
|
Text: "Fermer";
|
|
Style: (Alignment: Center; MarginTop: 12);
|
|
}
|
|
}
|