Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make the background of a docking window transparent ? #6759

Closed
absss opened this issue Aug 29, 2023 · 2 comments
Closed

How to make the background of a docking window transparent ? #6759

absss opened this issue Aug 29, 2023 · 2 comments

Comments

@absss
Copy link

absss commented Aug 29, 2023

i want to build a docking window above the main window ,it is outside the main window, i can not let it to be transparent, i try use the flag "ImGuiWindowFlags_NoBackground" or " ImGui::PushStyleColor(ImGuiCol_WindowBg, { 0, 0, 0, 0.0 });" but all of these is not work, what should i do? i look forward to your help, thank you very much!

@ocornut
Copy link
Owner

ocornut commented Aug 29, 2023

See similar issues #2766 #6558 #4629

It requires a backend change, it's not widely supported yet.

Please note that even when this will be supported for rendering, inputs will likely always be caught by a rectangular area.

@ocornut ocornut closed this as completed Aug 29, 2023
@dgm3333
Copy link

dgm3333 commented Sep 10, 2023

This is my solution... #6558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants