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
After enabling the function of leaving the parent window, it is not possible to set the child window style to rounded edges. When the child window leaves the parent window, it will automatically become a right angled edge
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered:
The additional viewport that is opened for your window doesn't have support for rounded corners. You don't even have to leave the main viewport, rounded window corners don't work well with docking in general. That's not a bug that can be easily fixed, it is more of a conceptual limitation. So if you want a consistent look and docking/viewport support, I would suggest to not use window rounding at all.
alright The main reason is that I need to work under two screens, and leaving the parent menu makes it impossible for me to set the round edge (my obsession). Is there any way to achieve it?
Not easily, no. You would have to configure per-pixel alpha compositing/transparency which is currently not demonstrated nor possible in a portable manner.
ocornut
changed the title
Unable to set the style correctly (right angle edge&rounded edge)
Unable to set the style correctly (right angle edge&rounded edge) with multi-viewports
Jul 23, 2024
Version/Branch of Dear ImGui:
v1.90.9-docking
Back-ends:
imgui_impl_XXX.cpp + imgui_impl_XXX.cpp
Compiler, OS:
win10+msvc2020
Full config/build information:
1.mp4
Details:
After enabling the function of leaving the parent window, it is not possible to set the child window style to rounded edges. When the child window leaves the parent window, it will automatically become a right angled edge
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered: