mirror of
https://github.com/Drezil/imgui.git
synced 2025-01-11 16:26:35 +00:00
Style: made scrollbars rounded by default. Because nice. (#246)
This commit is contained in:
parent
9e5fb40ddd
commit
e68d3c614e
@ -617,7 +617,7 @@ ImGuiStyle::ImGuiStyle()
|
|||||||
IndentSpacing = 22.0f; // Horizontal spacing when e.g. entering a tree node
|
IndentSpacing = 22.0f; // Horizontal spacing when e.g. entering a tree node
|
||||||
ColumnsMinSpacing = 6.0f; // Minimum horizontal spacing between two columns
|
ColumnsMinSpacing = 6.0f; // Minimum horizontal spacing between two columns
|
||||||
ScrollbarSize = 16.0f; // Width of the vertical scrollbar, Height of the horizontal scrollbar
|
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
|
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.
|
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.
|
DisplayWindowPadding = ImVec2(22,22); // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows.
|
||||||
|
Loading…
Reference in New Issue
Block a user