Skip to content

Support window independent UI scaling #5621

@Weibye

Description

@Weibye

What problem does this solve or what need does it fill?

There are now multiple occurrences where the code assumes only one window and proceeds calculations using the primary-window scale factor. This means setting the scale factor of the primary window will incorrectly affect all windows.

Code to be found here:

What solution would you like?

These systems should instead be fetching the actual scale of the current window the UI tree is a part of instead of the PrimaryWindow.

What alternative(s) have you considered?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-FeatureA new feature, making something new possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions