Skip to content

Window does not appear centered on screen #1771

@PPicku

Description

@PPicku

When creating a window, it does not appear in the center of the screen, but rather in the top-left corner or elsewhere. This issue did not occur in version 5.4. I also couldn’t find any documentation mentioning a new function or method for centering windows.

I’m not sure if this is an issue on my side; if it is, I sincerely apologize.

My code:

import webview

if __name__ == '__main__':
    window = webview.create_window('browser', 'https://example.com')
    webview.start()

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