Flutter-desktop-embedding: [window_size] Allow setting min/max sizes

Created on 14 Aug 2019  路  3Comments  路  Source: google/flutter-desktop-embedding

os-linux os-windows

Most helpful comment

Now implemented on all platforms.

All 3 comments

Currently the way you would do this is using NSWindow APIs in the Runner code (or set it directly in the XIB).

This is something the window_size prototype should support though, as it's come up several times.

It's going to require some thought to figure out how to make this work on Windows. Unlike macOS and GLFW, where it's a settable property, on Windows it's implemented by replying to a window message that's send during resize (WM_GETMINMAXINFO), so we'll need to figure out how to bridge between a plugin and the window class, and maybe set up a generic message handling delegation system.

Now implemented on all platforms.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

YazeedAlKhalaf picture YazeedAlKhalaf  路  5Comments

Kiruel picture Kiruel  路  3Comments

rodydavis picture rodydavis  路  6Comments

pauldemarco picture pauldemarco  路  6Comments

sachinkum0009 picture sachinkum0009  路  10Comments