xtd 0.2.0
Loading...
Searching...
No Matches

◆ system_font_size() [1/2]

static bool xtd::forms::application::system_font_size ( )
staticnoexcept

Gets a value indicating whether the system font size is enabled.

Returns
true if the system font size is enabled; otherwise false.
Exceptions
xtd::invalid_operation_exceptionIf this method is called after xtd::forms::application::run.
Remarks
By default, xtd automatically limits the system font size to 9 points if it is larger than 9.
If you enable this option, you can use the actual font size of the system if it exceeds 9 points and at the same time the default sizes of the different controls will be adapted as well.
This method has an effect only on Gtk.