Skip to main content

UserInterfaceOptions

Parameters

Snapshot of the User Interface preference values.

Import​

import ScriptingApi as api

# Access the class
# UserInterfaceOptions is available via api.UserInterfaceOptions

Properties​

save_application_size_and_position_on_exit​

Save the application size and location on exit and restore it on startup.

Type: bool


show_splash_screen​

Display the splash information screen at startup.

Type: bool


border_in_fullscreen​

Set a border in fullscreen mode.

Type: bool


enable_high_dpi_scaling​

Enable or disable high DPI scaling for the application. Changes take effect the next time the application starts.

Type: bool


high_dpi_scale_factor_rounding_mode​

Controls how non-integer high-DPI scale factors, such as 1.25 or 1.5, are handled. Changes take effect the next time the application starts. Use api.HighDpiScaleFactorRoundingMode.PassThrough to keep non-integer scale factors unchanged.

Type: HighDpiScaleFactorRoundingMode


application_font_size​

Application font size preset. Use api.ApplicationFontSize.SystemDefault

Type: ApplicationFontSize


See Also​