MCPcopy Create free account
hub / github.com/cinder/Cinder / PushStyleCompact

Function PushStyleCompact

src/imgui/imgui_demo.cpp:5544–5549  ·  view source on GitHub ↗

Make the UI compact because there are so many fields

Source from the content-addressed store, hash-verified

5542
5543// Make the UI compact because there are so many fields
5544static void PushStyleCompact()
5545{
5546 ImGuiStyle& style = ImGui::GetStyle();
5547 ImGui::PushStyleVarY(ImGuiStyleVar_FramePadding, (float)(int)(style.FramePadding.y * 0.60f));
5548 ImGui::PushStyleVarY(ImGuiStyleVar_ItemSpacing, (float)(int)(style.ItemSpacing.y * 0.60f));
5549}
5550
5551static void PopStyleCompact()
5552{

Callers 1

DemoWindowTablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected