InputInt2(), InputInt3(), InputInt4(): fixed label vertical alignment

features/sdl_renderer3_multiviewports
ocornut ago%!(EXTRA string=10 years)
parent f7e35ce120
commit dc52938627
  1. 1
      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();

Loading…
Cancel
Save