diff --git a/src/gui.cpp b/src/gui.cpp index b982d559b..c293b2e4b 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -344,7 +344,6 @@ static void init_ImGui(void) } } -static void gui_iter(const inputs_t *inputs); static void gui_init(void) { @@ -523,6 +522,7 @@ static void gui_iter(const inputs_t *inputs) // Setup theme. ImGui::StyleColorsDark(); style.WindowBorderSize = 0; + // style.WindowPadding = ImVec2(0, 0); style.FrameRounding = 2; style.ChildRounding = 2; style.SelectableTextAlign = ImVec2(0.5, 0.5); @@ -1516,7 +1516,6 @@ bool gui_panel_header(const char *label) ImGui::AlignTextToFramePadding(); gui_text(label); ret = gui_button_right("", ICON_CLOSE); - ImGui::Separator(); gui_pop_id(); return ret; }