Make the UI compact because there are so many fields
| 3441 | |
| 3442 | // Make the UI compact because there are so many fields |
| 3443 | static void PushStyleCompact() |
| 3444 | { |
| 3445 | ImGuiStyle& style = ImGui::GetStyle(); |
| 3446 | ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(style.FramePadding.x, (float)(int)(style.FramePadding.y * 0.60f))); |
| 3447 | ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(style.ItemSpacing.x, (float)(int)(style.ItemSpacing.y * 0.60f))); |
| 3448 | } |
| 3449 | |
| 3450 | static void PopStyleCompact() |
| 3451 | { |
no test coverage detected