Skip to content

Commit

Permalink
fix: #216 Increase max and default window size on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Johnson authored and flexiondotorg committed Dec 30, 2024
1 parent 4c2e3d4 commit 622ea4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void main() async {
setWindowMaxSize(const Size(692 + 2, 580 + 30));
} else {
setWindowMinSize(const Size(692, 580));
setWindowMaxSize(const Size(692, 580));
setWindowMaxSize(const Size(800, 720));
}
final foundQuickGet = await Process.run('which', ['quickget']);
if (foundQuickGet.exitCode == 0) {
Expand Down
2 changes: 1 addition & 1 deletion linux/my_application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static void my_application_activate(GApplication* application) {
gtk_window_set_title(window, "quickgui");
}

gtk_window_set_default_size(window, 692, 580);
gtk_window_set_default_size(window, 800, 720);
gtk_widget_show(GTK_WIDGET(window));

g_autoptr(FlDartProject) project = fl_dart_project_new();
Expand Down

0 comments on commit 622ea4d

Please sign in to comment.