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
Back-ends: OpenGL 3.0
Compiler:
Operating System: Windows 11
My Issue/Question:
I am trying to draw a circle which fits the window size (e.g. radius of circle is 200 and window size is 200x200) and I encountered the problem from screenshot below where first few and last few columns are not "accessible" to draw in. I could "fix" this issue by setting the window start position to be negative, and to have a slightly larger window - but this approach seems too hacky. Am I missing some flag for the window because it seems WindowBorderSize does not do the trick?
(Sorry if there is already similar issue - I only found #1758, or if this is something obvious that I am missing).
Screenshots/Video
Standalone, minimal, complete and verifiable example:(see #2261)
You should also be pushing a zero value for ImGuiStyleVar_WindowPadding (or alternatively you can push a clip rect manually).
You'll find a more detailed explanation in #3312 : we currently push a default clip-rect that remove half-windowpadding on left and right sides. I think we will eventually remove this behavior as discussed in #3312, so down the line that won't be needed.
Use Metrics->DrawList to visualize Clipping Rectangle for a given draw command, and you'll be able visualize the current default ClipRect extents.
Version/Branch of Dear ImGui:
Version: v1.89.3
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: OpenGL 3.0
Compiler:
Operating System: Windows 11
My Issue/Question:
I am trying to draw a circle which fits the window size (e.g. radius of circle is 200 and window size is 200x200) and I encountered the problem from screenshot below where first few and last few columns are not "accessible" to draw in. I could "fix" this issue by setting the window start position to be negative, and to have a slightly larger window - but this approach seems too hacky. Am I missing some flag for the window because it seems WindowBorderSize does not do the trick?
(Sorry if there is already similar issue - I only found #1758, or if this is something obvious that I am missing).
Screenshots/Video
Standalone, minimal, complete and verifiable example: (see #2261)
The text was updated successfully, but these errors were encountered: