opt chatModel, linux same startup height as dart

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-07-10 16:02:47 +08:00
parent 6c6f6c081e
commit 22994ee8f2
7 changed files with 62 additions and 40 deletions

View file

@ -64,7 +64,7 @@ static void my_application_activate(GApplication* application) {
int width = 800, height = 600;
if (gIsConnectionManager) {
width = 300;
height = 400;
height = 490;
}
gtk_window_set_default_size(window, width, height); // <-- comment this line
gtk_widget_show(GTK_WIDGET(window));