Family specifies the font family of the displayed or input to window elements, containers, and widgets.
in Lycia Theme Designer |
|
Theme property filter XML code:
<DoStyleAction>
<SetProperty>
<PropertyPath>
<PropertyName>Font</PropertyName>
<PropertyName>Family</PropertyName>
</PropertyPath>
<PropertyValue>
<Name>Courier New</Name>
</PropertyValue>
</SetProperty>
</DoStyleAction>
Possible values: depend on the fonts installed on the user's computer
When choosing the font family, please, remember that some font families are not available for certain locales or scripts:
Default value: specified by SystemTheme.css
Influence and behavior:
initial runtime appearance |
|
property set in the user theme |
|
changed runtime appearance |
|
By setting the font family to the whole application (without any filters), you can change the appearance of window elements like toolbar buttons or messages invoked by fgl_winmessage().
At runtime, you can use css styles to change the element's background:
.qx-identifier-myid .qx-text {
font: bold italic 25px "Courier New";
}
Related articles: