Font Size

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

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 pt

Default value:

specified by SystemTheme.css

Influence and behavior:

You can change the property value in four ways:

default runtime appearance

property set in theme

resulting 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 Bold property to the whole application (= without filters), you 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 font size for the element:

.qx-identifier-myid .qx-text {

    font: bold italic 25px "Courier New";

}

 

At runtime, you can use ui method - <var>.FontSize() - to change the font size for the element.

For this purpose, you must

You can find examples of how to use the <var>.FontSize() method here and in the example program.

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.