Reference for FS25 GUI design
The GUI xml
Root tag: <GUI>
Attributes: onOpen, onClose, onCreate
GUIProfiles
Styling information for GuiElements
Organised in <Profile> tags with attributes name, extends, (with)
Children can be:
Tag | Type | Example |
---|---|---|
size | % or px | 10% 20px |
position | % or px | -10px |
alignmentY | middle, top, bottom | |
alignmentX | left, right, center | |
elementSpacing | % or px | 15px |
textSize | px | 18px |
textBold | boolean | true |
textUpperCase | boolean | true |
textAutoWidth | boolean | true |
width | % or px | 400px |
focusOnHighlight | boolean | true |
flowDirection | vertical | |
height | % or px | 70px |
textLayoutMode | scrolling | |
textAlignment | center | |
imageSliceId | image slice ID | gui.loadingAnimation |
imageColor | color | |
animationMode | rotate | |
animationSpeed | 1000 | |
useYesNoTexts | nil |