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

Feature Request: keep the size after a nearby dock area was closed #655

Closed
Wing-summer opened this issue Jul 27, 2024 · 1 comment
Closed

Comments

@Wing-summer
Copy link

Hello! I am the author of WingHexExplorer2. I use your qt ads as my docking system. I have a question about the policy as the title says:

bugreport

Above as the image I want to demostrate the problem: I want to keep the size of the dock widget "日志" after the close of "WingHexExplorer2.exe : 1" ("WingHexExplorer2.exe" is added to the centeral dock widget area).

I have read your dev document but I find nothing to solve the problem. Can you give me some tips? Thanks!

@githubuser0xFFFF
Copy link
Owner

This is not so easy to implement, but you can try to do it in your application. You need to somehow keep track of the size of the window that should not change its size. When a dock widget is closed/hidden, you can access its parent DockSplitter and the use the setSizes() function to adjust the sizes of the single widgets in the splitter.

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

2 participants