Make the UI compact because there are so many fields
| 5542 | |
| 5543 | // Make the UI compact because there are so many fields |
| 5544 | static 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 | |
| 5551 | static void PopStyleCompact() |
| 5552 | { |