We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImGui::TextLink
Version 1.91.8
Any
Unlike normal text lines, ImGui::TextLink is not recognizing vertical alignment.
Related code: ImGui::Text:
ImGui::Text
imgui/imgui_widgets.cpp
Line 174 in 9c2876b
Line 1447 in 9c2876b
void issue() { if (ImGui::Begin("Issue")) { ImGui::AlignTextToFramePadding(); ImGui::Text("123"); ImGui::SameLine(); ImGui::Text("456"); ImGui::AlignTextToFramePadding(); ImGui::Text("123"); ImGui::SameLine(); ImGui::TextLink("456"); ImGui::Button("123"); ImGui::SameLine(); ImGui::Text("456"); ImGui::Button("123"); ImGui::SameLine(); ImGui::TextLink("456"); } ImGui::End(); }
The text was updated successfully, but these errors were encountered:
TextLink(), TextLinkOpenURL(): fixed honoring text baseline alignment. (
c5ade65
#8451, #7660)
Pushed fix c5ade65, thank you!
Sorry, something went wrong.
No branches or pull requests
Version/Branch of Dear ImGui:
Version 1.91.8
Back-ends:
Any
Compiler, OS:
Any
Details:
Unlike normal text lines,
ImGui::TextLink
is not recognizing vertical alignment.Related code:
ImGui::Text
:imgui/imgui_widgets.cpp
Line 174 in 9c2876b
ImGui::TextLink
:imgui/imgui_widgets.cpp
Line 1447 in 9c2876b
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: