Increase Switch font size to 24

This commit is contained in:
Michael Theall 2020-04-09 22:03:15 -05:00
parent 1b089068c2
commit e4a63e8710
3 changed files with 7 additions and 4 deletions

View File

@ -82,7 +82,6 @@ void FtpServer::draw ()
#else
ImGui::SetNextWindowSize (ImVec2 (width, height));
#endif
ImGui::SetNextWindowFocus ();
ImGui::Begin (STATUS_STRING,
nullptr,
ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize);

View File

@ -308,7 +308,11 @@ void FtpSession::draw ()
{
auto const lock = std::scoped_lock (m_lock);
ImGui::BeginChild (m_windowName.c_str (), ImVec2 (0.0f, 50.0f), true);
#ifdef _3DS
ImGui::BeginChild (m_windowName.c_str (), ImVec2 (0.0f, 45.0f), true);
#else
ImGui::BeginChild (m_windowName.c_str (), ImVec2 (0.0f, 80.0f), true);
#endif
if (!m_workItem.empty ())
ImGui::TextUnformatted (m_workItem.c_str ());

View File

@ -1456,7 +1456,7 @@ bool loadFontAtlas ()
config.FontDataSize = 0;
config.FontDataOwnedByAtlas = true;
config.FontNo = 0;
config.SizePixels = 14.0f;
config.SizePixels = 24.0f;
config.OversampleH = 3;
config.OversampleV = 1;
config.PixelSnapH = false;
@ -1621,7 +1621,7 @@ bool imgui::nx::init ()
config.FontDataOwnedByAtlas = false;
for (auto const &font : fonts)
{
io.Fonts->AddFontFromMemoryTTF (font.address, font.size, 14.0f, &config, nxFontRanges);
io.Fonts->AddFontFromMemoryTTF (font.address, font.size, 24.0f, &config, nxFontRanges);
config.MergeMode = true;
}