Minimum window size | pywebview (v2.4)
Description: Build GUI for your Python program with JavaScript, HTML, and CSS

# # Minimum window size

Set minimum window dimensions.

    import webview

    if __name__ == '__main__':
        # Create a resizable webview window with minimum size constraints
        webview.create_window('Minimum window size',
                              'https://pywebview.flowrl.com/hello',
                              width=800, height=600,
                              resizable=True,
                              min_size=(400, 200))

Help us improve this page!