You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't have a standardized mechanism to specify general/global scaling and would probably wait until we have one.
Similarly I don't disagree we could have a specific color for it but it likely would have to wait until we update the style system to avoid cluttering out existing list.
Yes but the difference is for other settings like WindowPadding, ItemSpacing... I can call ImStyle::ScaleAllSizes(). And as for fonts I can load them with scaled size. So using existing functionality I am already able to achieve DPI scaling of UI elements. But the width of the text cursor is fixed so I can't scale it unless I directly modify ImGui code.
Version/Branch of Dear ImGui:
Version: 1.90
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_android.cpp + imgui_impl_opengl3.cpp
Compiler: Android NDK Clang
Operating System: Android
My Issue/Question:
I would like the rendering of the text cursor in input controls to be more configurable.
Right now the rendering is done by drawing a 1px line. That is problematic with DPI scaling so the cursor is barely visible.
The color should be configurable too currently it is fixed to ImGuiCol_Text. Android uses different color for text cursor and text.
Screenshots/Video
The text was updated successfully, but these errors were encountered: