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

This commit is contained in:
ocornut 2015-04-03 14:22:00 +01:00
parent f7e35ce120
commit dc52938627

View File

@ -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();