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
Hi, I am trying to figure out how to hide a TextFilter's label. I know that this can be done using Push/PopItemWidth for other widgets, but this does not seem to work for TextFilter. I have not managed to find any examples of this when searching. Is this currently possible?
Screenshots/Video
XXX (you can drag files here)
Standalone, minimal, complete and verifiable example:(see #2261)
Since it is a static, construction happens only once. Besides that, Item width around the construction does nothing. And the Draw() method has an explicit width already. Give it a -1.0f there, also you can skip drawing the label by starting it with ##.
Version/Branch of Dear ImGui:
Version: 1.89.7
Branch: Docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl.opengl3.cpp
Compiler: clang++
Operating System: Archlinux
My Issue/Question:
Hi, I am trying to figure out how to hide a TextFilter's label. I know that this can be done using
Push/PopItemWidth
for other widgets, but this does not seem to work for TextFilter. I have not managed to find any examples of this when searching. Is this currently possible?Screenshots/Video
XXX (you can drag files here)
Standalone, minimal, complete and verifiable example: (see #2261)
The text was updated successfully, but these errors were encountered: