mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
change default macos window size
This commit is contained in:
@@ -5,7 +5,7 @@ class MainFlutterWindow: NSWindow {
|
||||
override func awakeFromNib() {
|
||||
let flutterViewController = FlutterViewController.init()
|
||||
var windowFrame = self.frame
|
||||
windowFrame.size = CGSize(width: 1080, height: 1920)
|
||||
windowFrame.size = CGSize(width: 450, height: 800)
|
||||
self.contentViewController = flutterViewController
|
||||
self.setFrame(windowFrame, display: true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user