Skip to content

Commit

Permalink
macos: Change Window size
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed Jan 21, 2024
1 parent c72b652 commit 373f563
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/flutter_app/macos/Runner/MainFlutterWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ class MainFlutterWindow: NSWindow {
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)

self.setContentSize(NSSize(width: 540, height: 960))

RegisterGeneratedPlugins(registry: flutterViewController)

super.awakeFromNib()
Expand Down

0 comments on commit 373f563

Please sign in to comment.