From 8bdab613289e2626173de8bff31e7078dd03a16e Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 9 Jan 2026 10:23:23 +0100 Subject: setup window work --- src/main_linux.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main_linux.cpp') diff --git a/src/main_linux.cpp b/src/main_linux.cpp index a7619b0..9e91f7c 100644 --- a/src/main_linux.cpp +++ b/src/main_linux.cpp @@ -63,8 +63,8 @@ static void _create_window(bool is_setup_window) if (is_setup_window) { glfwWindowHint(GLFW_RESIZABLE, false); - windowWidth = (int)(500 * main_scale); - windowHeight = (int)(400 * main_scale); + windowWidth = (int)(300 * main_scale); + windowHeight = (int)(300 * main_scale); } else { glfwWindowHint(GLFW_RESIZABLE, true); @@ -111,6 +111,7 @@ static void _create_window(bool is_setup_window) ui::fontBold = io.Fonts->AddFontFromFileTTF("/home/aldrik/Projects/open-books/build/Roboto-Bold.ttf", 0); ui::fontBig = io.Fonts->AddFontFromFileTTF("/home/aldrik/Projects/open-books/build/Roboto-Bold.ttf", 30); + ui::fontSmall = io.Fonts->AddFontFromFileTTF("/home/aldrik/Projects/open-books/build/Roboto-Regular.ttf", 12); io.Fonts->Build(); } -- cgit v1.2.3-70-g09d2