Skip to content

QT window stops being resizable after window.resize() #1763

@Triconsult

Description

@Triconsult

When using QT, calling window.resize() makes the window not resizable anymore. Even setting window.resizable = True afterwards doesn't fix it.

import webview


def resize():
    window.resize(600, 400)
    window.resizable = True


window = webview.create_window("Hello world", "https://pywebview.flowrl.com/")
webview.start(resize, gui="qt")

OS: Windows 11

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