From e68d3c614e72608d1cce45691097f15b260e50fb Mon Sep 17 00:00:00 2001 From: ocornut Date: Sun, 30 Aug 2015 16:43:08 +0100 Subject: [PATCH] Style: made scrollbars rounded by default. Because nice. (#246) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index ad0faa39..d4a241e0 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -617,7 +617,7 @@ ImGuiStyle::ImGuiStyle() IndentSpacing = 22.0f; // Horizontal spacing when e.g. entering a tree node ColumnsMinSpacing = 6.0f; // Minimum horizontal spacing between two columns ScrollbarSize = 16.0f; // Width of the vertical scrollbar, Height of the horizontal scrollbar - ScrollbarRounding = 0.0f; // Radius of grab corners rounding for scrollbar + ScrollbarRounding = 9.0f; // Radius of grab corners rounding for scrollbar GrabMinSize = 10.0f; // Minimum width/height of a grab box for slider/scrollbar GrabRounding = 0.0f; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs. DisplayWindowPadding = ImVec2(22,22); // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows.