fix(studio): narrow default window to 1280x900
Some checks failed
Security / Security check (push) Failing after 1s

The 1440x900 default felt too wide for first-run: the
Welcome page's 960 px content column left visible slack on
either side even after the centring fix, and the editor's
sidebar plus canvas plus properties panel still didn't
need that much horizontal room on a fresh open.

1280x900 matches the most common laptop effective
resolution, keeps every Studio surface comfortable, and
the operator can resize larger any time. Same value
across all three host platforms (macOS NSWindow setContentSize,
Linux gtk_window_set_default_size, Windows Win32Window::Size).

Version 0.52.3 -> 0.52.4.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-01 16:06:50 +02:00
parent f1b0f65c86
commit 696541e5b3
5 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ static void my_application_activate(GApplication* application) {
gtk_window_set_title(window, "F\u2206I Studio");
}
gtk_window_set_default_size(window, 1440, 900);
gtk_window_set_default_size(window, 1280, 900);
g_autoptr(FlDartProject) project = fl_dart_project_new();
fl_dart_project_set_dart_entrypoint_arguments(