feat: configure mobile phone viewport (412x860) for linux desktop

This commit is contained in:
Alma Alexyz
2026-08-31 13:16:18 +05:00
parent 3972eb5a75
commit c99e36e9ac
+3 -3
View File
@@ -45,14 +45,14 @@ static void my_application_activate(GApplication* application) {
if (use_header_bar) {
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
gtk_widget_show(GTK_WIDGET(header_bar));
gtk_header_bar_set_title(header_bar, "words999");
gtk_header_bar_set_title(header_bar, "Оракул 999");
gtk_header_bar_set_show_close_button(header_bar, TRUE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
} else {
gtk_window_set_title(window, "words999");
gtk_window_set_title(window, "Оракул 999");
}
gtk_window_set_default_size(window, 1280, 720);
gtk_window_set_default_size(window, 412, 860);
g_autoptr(FlDartProject) project = fl_dart_project_new();
fl_dart_project_set_dart_entrypoint_arguments(