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

docking
ocornut 10 years ago
parent f7e35ce120
commit dc52938627

@ -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