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

Is it possible to restrict docking to particular direction? #8204

Open
sikpigs opened this issue Dec 4, 2024 · 2 comments
Open

Is it possible to restrict docking to particular direction? #8204

sikpigs opened this issue Dec 4, 2024 · 2 comments
Labels

Comments

@sikpigs
Copy link

sikpigs commented Dec 4, 2024

Version/Branch of Dear ImGui:

Version 1.90.7, Branch: docking

Back-ends:

imgui_impl_glfw.cpp + imgui_impl_dx12.cpp

Compiler, OS:

Windows 11 + MSVC 19

Full config/build information:

No response

Details:

I am updating my code to use the docking branch and started to wonder if it is possible to restrict docking to particular direction. I've been asked to research only allow docking a particular window to the left or right and not up or down, is that even possible?

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

No response

@ocornut ocornut added the docking label Dec 4, 2024
@yuvashrikarunakaran

This comment was marked as off-topic.

@ocornut
Copy link
Owner

ocornut commented Dec 6, 2024

Yuva your code doesn't seem to answer the question.
(May I ask if your 4-5 snippets you posted in different thread are generated by e.g. ChatGPT or AI ? Thank you.)

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

No branches or pull requests

3 participants