From e7401a6bd197531495d8ab912c030bc2d77285df Mon Sep 17 00:00:00 2001 From: blankie Date: Tue, 3 Jan 2023 16:13:29 +0700 Subject: [PATCH] Automatically size the settings window --- event_loop.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/event_loop.cpp b/event_loop.cpp index 40cfc92..20b8fbd 100644 --- a/event_loop.cpp +++ b/event_loop.cpp @@ -4,13 +4,11 @@ #include "config.h" static inline void settings_window(Config& inactive_config, bool* show_settings_window) { - // by default, the settings window is a bit cramped - ImGui::SetNextWindowSize(ImVec2(665, 80), ImGuiCond_FirstUseEver); if (!ImGui::Begin("Settings", show_settings_window)) { ImGui::End(); return; } - ImGui::TextWrapped("Modifying logcat command will take effect after closing this window and will restart logcat"); + ImGui::Text("Modifying logcat command will take effect after closing this window and will restart logcat"); ImGui::InputTextWithHint("Logcat command", "adb logcat -Dv 'threadtime UTC epoch usec'", &inactive_config.logcat_command); ImGui::End(); }