We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version 1.XX, Branch: XXX (master/docking/etc.)
imgui_impl_XXX.cpp + imgui_impl_XXX.cpp
win10
No response
My Issue/Question:
It takes at least three clicks,to SetScrollHereY in good pos
static bool need_to_set_scroll = false; ImGui::Begin(u8"chat111"); if (ImGui::Button("track_once111")) { need_to_set_scroll = true; } ImGui::BeginChild("chatBeginChild1", ImVec2(0, 0), ImGuiChildFlags_Border); ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(9.465649, 9.465649)); ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(9.465649, 13.146734)); ImGui::BeginChild("chatBeginChild", ImVec2(0, 0), ImGuiChildFlags_Border); int scroll_index = 49; for (size_t j = 0; j < 50; j++) { ImGui::TextColored(ImVec4(1, 1, 1, 1), "%d %d", j, scroll_index); if (need_to_set_scroll && scroll_index == j) { need_to_set_scroll = false; ImGui::SetScrollHereY(0.5f); } } ImGui::EndChild(); ImGui::PopStyleVar(); ImGui::PopStyleVar(); ImGui::EndChild(); ImGui::End();
The text was updated successfully, but these errors were encountered:
Non integer style values are not supported.
Sorry, something went wrong.
I have confirmed that the issue doesn't happen with integer values. On your other issue I will move to #8212.
No branches or pull requests
Version/Branch of Dear ImGui:
Version 1.XX, Branch: XXX (master/docking/etc.)
Back-ends:
imgui_impl_XXX.cpp + imgui_impl_XXX.cpp
Compiler, OS:
win10
Full config/build information:
No response
Details:
My Issue/Question:
It takes at least three clicks,to SetScrollHereY in good pos
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: