Font Size

Font size specifies the size of a window element, container, or widget text.

 

 

in Lycia Theme Designer

 

 

Theme property filter XML code:

 

<DoStyleAction>

    <SetProperty>

      <PropertyPath>

        <PropertyName>Font</PropertyName>

        <PropertyName>FontSize</PropertyName>

      </PropertyPath>

      <PropertyValue>

        <Name>...</Name>

      </PropertyValue>

    </SetProperty>

</DoStyleAction>

 

Possible values: 0-100 px

 

Default value: specified by SystemTheme.css

 

Influence and behavior:

 

You can change the property value in four ways: by typing it directly into the field, by moving the slider, by clicking the up and down arrows of the spinner, or by using up, down, right, and left arrow keys on the keyboard:

 

 

initial runtime appearance

 

property set

in the user theme

 

changed runtime appearance

 

 

If the font size is too large for the text to fit into the element, the text will be cropped:

 

 

By setting the font size 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:

Font

New Font

Bold

Italic

Underline

Fore Color