Skip to content

Input text cursor rendering issues #7031

@tpecholt

Description

@tpecholt

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.

  1. Right now the rendering is done by drawing a 1px line. That is problematic with DPI scaling so the cursor is barely visible.

  2. The color should be configurable too currently it is fixed to ImGuiCol_Text. Android uses different color for text cursor and text.

Screenshots/Video

cursor

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions