The <menuText> object dresses menu texts. Each text level is customised separately through its name.
| View | Name | Element |
|---|---|---|
menu |
menutitle |
The menu title |
menu |
menutext |
The menu entries |
menu |
menufooter |
Menu footers and subtitles |
This object cannot be created with extra="true".
| Property | Type | Purpose |
|---|---|---|
fontPath |
Path | TrueType or OpenType font to use. |
fontSize |
Float | Font size, as a fraction of screen height. |
color |
Colour | Text colour. |
separatorColor |
Colour | Colour of the lines separating menu entries. |
selectedColor |
Colour | Text colour of the selected entry. |
selectorColor |
Colour | Colour of the selector bar. |
<view name="menu">
<menuText name="menutitle" fontPath="./art/Exo2-Bold.otf" fontSize="0.085" color="FFFFFFFF" />
<menuText name="menutext" fontPath="./art/Exo2-Regular.otf" fontSize="0.045"
color="FFFFFFFF" selectedColor="808080FF" selectorColor="C0C0C0FF" separatorColor="404040FF" />
<menuText name="menufooter" fontSize="0.035" color="C6C6C6FF" />
</view>
| Property | Default |
|---|---|
color |
FFFFFFFF |
selectedColor |
808080FF |
selectorColor |
C0C0C0FF |
separatorColor |
404040FF |
Default font sizes are 0.085 for menutitle, 0.045 for menutext and 0.035 for menufooter.