Unverified Commit e6de0de8 authored by Robert Ancell's avatar Robert Ancell Committed by GitHub

Fix Linux shell window default size (#59630)

The previous call set the minimum size, not just the initial size.
parent f41f7956
......@@ -20,9 +20,9 @@ static void my_application_activate(GApplication* application) {
gtk_header_bar_set_title(header_bar, kFlutterWindowTitle);
gtk_header_bar_set_show_close_button(header_bar, TRUE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
gtk_widget_show(GTK_WIDGET(window));
gtk_widget_set_size_request(GTK_WIDGET(window), kFlutterWindowWidth,
gtk_window_set_default_size(window, kFlutterWindowWidth,
kFlutterWindowHeight);
gtk_widget_show(GTK_WIDGET(window));
g_autoptr(FlDartProject) project = fl_dart_project_new();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment