Skip to content

Odd blue corner on widgets (transparent window) #139

Closed Answered by Rel1cx
ItsVoltz asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is that the default value of framebordersize is not appropriate when frameborder is rounded, if you want to get pixel perfect display with rounded corners it is recommended to set StyleVarFrameBorderSize to 0
in loop func:

defer imgui.PopStyleVar()
imgui.PushStyleVarFloat(imgui.StyleVarFrameBorderSize, 0)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ItsVoltz
Comment options

Answer selected by ItsVoltz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants