diff --git a/imgui.cpp b/imgui.cpp index fb11ef48..a50562a4 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -6577,6 +6577,7 @@ static bool InputIntN(const char* label, int* v, int components) ImGui::PopItemWidth(); ImGui::PopID(); + window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.CurrentLineTextBaseOffset, style.FramePadding.y); ImGui::TextUnformatted(label, FindTextDisplayEnd(label)); ImGui::EndGroup();