mirror of
https://github.com/Drezil/imgui.git
synced 2025-01-11 16:26:35 +00:00
InputInt2(), InputInt3(), InputInt4(): fixed label vertical alignment
This commit is contained in:
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…
Reference in New Issue
Block a user