mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-10 19:03:30 +00:00
Incorrect text clipping #512
Labels
No labels
accidentally closed
android
backends
bug
building
clipper
coloredit
color spaces
cplusplus
data types
demo
disabled
doc
docking
dpi
drag drop
drawing/drawlist
dropped
dx12
enhancement
focus
font/text
gallery
help wanted
idle/power saving
ime
in progress
inputs
inputtext
internals
label/id and id stack
language bindings
layout
linux/bsd
menus
multi-contexts
multi-threading
multi-viewports
nav
news/info
opengl
optimization
osx/ios
overlap
plot/graph
popups
question
scrolling
selection
settings
sliders/drags
style
tables/columns
tabs
test wanted
tools
tooltips
tree
tricks & tips
useful widgets
vulkan
web
window pos/depth
window sizing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ocornut/imgui#512
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With
ImGui::PushItemWidth andFramePadding > 0, text is not correctly clipped in ImGui::InputTextIt seems to be caused by this:
With FramePadding == 0, everything looks ok
Yeah, I have the same issue with ImGuiListClipper and InputText, but vertically.
And it is flickering when dragging the scrollbar.
Without ImGuiListClipper, everything is clipped correctly (but more expensive in terms of CPU)
I think your issue is completely different here. Nem0 is referring to the input box contents not being clipped within the frame properly, because i'm miscalculating the aabb for cpu-side clipping of the vertices.
ok, sorry
Fixed. I think the issue started appearing along with my cleanups of last week, e.g.
ocornut/imgui@570a9dadc4