Skip to content

Commit

Permalink
Load the example app with a bigger size for have a open navigation pa…
Browse files Browse the repository at this point in the history
…ne and do not center the window (#793)
  • Loading branch information
bdlukaa authored Mar 29, 2023
2 parents 5f8c726 + d03dca5 commit ffe7e55
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ void main() async {
TitleBarStyle.hidden,
windowButtonVisibility: false,
);
await windowManager.setSize(const Size(755, 545));
await windowManager.setMinimumSize(const Size(350, 600));
await windowManager.center();
await windowManager.setMinimumSize(const Size(500, 600));
await windowManager.show();
await windowManager.setPreventClose(true);
await windowManager.setSkipTaskbar(false);
Expand Down

0 comments on commit ffe7e55

Please sign in to comment.