From 56c00b0eb5de23d72a652c173a387a079bc76c2a Mon Sep 17 00:00:00 2001 From: Xphalnos <164882787+Xphalnos@users.noreply.github.com> Date: Sun, 6 Apr 2025 10:54:16 +0200 Subject: [PATCH] [GUI] Adding Rounded Borders --- core/ui/gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/ui/gui.cpp b/core/ui/gui.cpp index 7f2d766d2..4302ee56e 100644 --- a/core/ui/gui.cpp +++ b/core/ui/gui.cpp @@ -210,7 +210,8 @@ void gui_initFonts() // Setup Dear ImGui style ImGui::GetStyle() = ImGuiStyle{}; ImGui::StyleColorsDark(); - ImGui::GetStyle().TabRounding = 0; + ImGui::GetStyle().TabRounding = 5.0f; + ImGui::GetStyle().FrameRounding = 3.0f; ImGui::GetStyle().ItemSpacing = ImVec2(8, 8); // from 8,4 ImGui::GetStyle().ItemInnerSpacing = ImVec2(4, 6); // from 4,4 #if defined(__ANDROID__) || defined(TARGET_IPHONE) || defined(__SWITCH__)