Make the UI compact because there are so many fields
| 3737 | |
| 3738 | // Make the UI compact because there are so many fields |
| 3739 | static void PushStyleCompact() |
| 3740 | { |
| 3741 | ImGuiStyle& style = ImGui::GetStyle(); |
| 3742 | ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(style.FramePadding.x, (float)(int)(style.FramePadding.y * 0.60f))); |
| 3743 | ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(style.ItemSpacing.x, (float)(int)(style.ItemSpacing.y * 0.60f))); |
| 3744 | } |
| 3745 | |
| 3746 | static void PopStyleCompact() |
| 3747 | { |
no test coverage detected