You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deps/imgui/imgui.cpp
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1348,6 +1348,7 @@ ImGuiStyle::ImGuiStyle()
1348
1348
FramePadding = ImVec2(4,3); // Padding within a framed rectangle (used by most widgets)
1349
1349
FrameRounding = 0.0f; // Radius of frame corners rounding. Set to 0.0f to have rectangular frames (used by most widgets).
1350
1350
FrameBorderSize = 0.0f; // Thickness of border around frames. Generally set to 0.0f or 1.0f. Other values not well tested.
1351
+
MenuItemTabSize = 0.0f; // Tabbing of menu items (menu item and sub menu elements). Set to 0.0f to do no tab
1351
1352
ItemSpacing = ImVec2(8,4); // Horizontal and vertical spacing between widgets/lines
1352
1353
ItemInnerSpacing = ImVec2(4,4); // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label)
1353
1354
CellPadding = ImVec2(4,2); // Padding within a table cell. Cellpadding.x is locked for entire table. CellPadding.y may be altered between different rows.
menu_bar_rect.ClipWith(window->Rect()); // Soft clipping, in particular child window don't have minimum size covering the menu bar so this is useful for them.
Copy file name to clipboardExpand all lines: deps/imgui/imgui.h
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1701,6 +1701,7 @@ enum ImGuiCol_
1701
1701
ImGuiCol_TitleBgActive, // Title bar when focused
1702
1702
ImGuiCol_TitleBgCollapsed, // Title bar when collapsed
1703
1703
ImGuiCol_MenuBarBg,
1704
+
ImGuiCol_MenuBarBorder,
1704
1705
ImGuiCol_ScrollbarBg,
1705
1706
ImGuiCol_ScrollbarGrab,
1706
1707
ImGuiCol_ScrollbarGrabHovered,
@@ -2224,6 +2225,7 @@ struct ImGuiStyle
2224
2225
ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets).
2225
2226
float FrameRounding; // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets).
2226
2227
float FrameBorderSize; // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly).
2228
+
float MenuItemTabSize; // Tabbing of menu items (menu item and sub menu elements). Set to 0.0f to do no tab
2227
2229
ImVec2 ItemSpacing; // Horizontal and vertical spacing between widgets/lines.
2228
2230
ImVec2 ItemInnerSpacing; // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label).
2229
2231
ImVec2 CellPadding; // Padding within a table cell. Cellpadding.x is locked for entire table. CellPadding.y may be altered between different rows.
0 commit comments