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

Mismatching at height of dock widget by using Flag_NativeTitleBar #174

Closed
amuralev opened this issue Feb 25, 2021 · 0 comments
Closed

Mismatching at height of dock widget by using Flag_NativeTitleBar #174

amuralev opened this issue Feb 25, 2021 · 0 comments
Assignees

Comments

@amuralev
Copy link

  1. Run "kddockwidgets_example" with KDDockWidgets::Config::Flag_NativeTitleBar (patch.txt);
  2. Split, for example, 4 dock widgets at MainWindow;
  3. Call "Layout Equally" from menu;
  4. Undock any dock widget by double click on titlebar;
  5. Height of the FLOAT window is larger by the height of the custom titlebar of dock widget.

With KDDockWidgets::Config::Flag_NativeTitleBar:
native_undock_height

Without KDDockWidgets::Config::Flag_NativeTitleBar:
custom_undock_height

Is it possible to take this into account by working with KDDockWidgets::Config::Flag_NativeTitleBar?

Environment:

  1. Windows 10 (64bit);
  2. Qt 5.15.1 MSVC 2019 64bit;
  3. KDDW master-branch.
@iamsergio iamsergio self-assigned this Feb 26, 2021
iamsergio added a commit that referenced this issue Feb 26, 2021
iamsergio added a commit that referenced this issue Feb 26, 2021
When undocking a dock widget, the size of the dock widget should
be maintained

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

No branches or pull requests

2 participants