diff --git a/source/ftpServer.cpp b/source/ftpServer.cpp index 24afa72..0f97023 100644 --- a/source/ftpServer.cpp +++ b/source/ftpServer.cpp @@ -176,7 +176,8 @@ void FtpServer::draw () } #ifndef _3DS - ImGui::BeginChild ("Logs", ImVec2 (0, 200), false, ImGuiWindowFlags_HorizontalScrollbar); + ImGui::BeginChild ( + "Logs", ImVec2 (0, 0.55f * height), false, ImGuiWindowFlags_HorizontalScrollbar); #endif drawLog (); #ifndef _3DS diff --git a/source/switch/platform.cpp b/source/switch/platform.cpp index 5b54c21..5d17260 100644 --- a/source/switch/platform.cpp +++ b/source/switch/platform.cpp @@ -511,8 +511,8 @@ bool platform::init () consoleInit (&g_sessionConsole); consoleSetWindow (&g_statusConsole, 0, 0, 80, 1); - consoleSetWindow (&g_logConsole, 0, 1, 80, 29); - consoleSetWindow (&g_sessionConsole, 0, 30, 80, 15); + consoleSetWindow (&g_logConsole, 0, 1, 80, 36); + consoleSetWindow (&g_sessionConsole, 0, 37, 80, 8); #endif #ifndef NDEBUG