Tweaked default desktop window size
This commit is contained in:
parent
8b8295805f
commit
279f35f89b
|
@ -68,9 +68,8 @@ void main() {
|
||||||
|
|
||||||
if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
|
if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
|
||||||
doWhenWindowReady(() {
|
doWhenWindowReady(() {
|
||||||
const initialSize = Size(600, 450);
|
appWindow.minSize = const Size(600, 450);
|
||||||
appWindow.minSize = initialSize;
|
appWindow.size = const Size(1200, 650);
|
||||||
appWindow.size = initialSize;
|
|
||||||
appWindow.alignment = Alignment.center;
|
appWindow.alignment = Alignment.center;
|
||||||
appWindow.show();
|
appWindow.show();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue