Skip to content

Commit ad12ec1

Browse files
committed
chore(macos): set window minimum size
1 parent 98e7e06 commit ad12ec1

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

docs/PLATFORM_RUNNER_MODIFICATIONS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ This document list all modification made to the default platform runner template
2020

2121
- Changed app id to `org.kraftlauncher.launcher`.
2222
- Changed window title to `Kraft Launcher`.
23+
- Changed window minimum size to `850×600`.

macos/Runner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 60;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXAggregateTarget section */

macos/Runner/MainFlutterWindow.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class MainFlutterWindow: NSWindow {
77
let windowFrame = self.frame
88
self.contentViewController = flutterViewController
99
self.setFrame(windowFrame, display: true)
10+
self.minSize = NSSize(width: 850, height: 600)
1011

1112
RegisterGeneratedPlugins(registry: flutterViewController)
1213

0 commit comments

Comments
 (0)