Skip to content

Fix scale on 4k #10

@StranikS-Scan

Description

@StranikS-Scan

Replace the code to take into account interface scaling in 4k mode:

    def resize(self):
        if self.ui is not None:
            width, height = GUI.screenResolution()
            scale = ServicesLocator.settingsCore.interfaceScale.get()
            self.ui.as_resizeS(int(width / float(scale)), int(height / float(scale)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions