Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:XPModder/GUI Reference

From Farming Simulator Modding Wiki
Revision as of 11:29, 11 July 2025 by XPModder (talk | contribs) (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.