mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
Fixed updateResizeHandleSizeLimitMax() function to work properly with all dock containers
This commit is contained in:
parent
7774aaa75a
commit
14acd0fe4a
@ -168,7 +168,7 @@ struct AutoHideDockContainerPrivate
|
||||
|
||||
void updateResizeHandleSizeLimitMax()
|
||||
{
|
||||
auto Rect = DockManager->contentRect();
|
||||
auto Rect = _this->parentContainer()->contentRect();
|
||||
ResizeHandle->setMaxResizeSize(ResizeHandle->orientation() == Qt::Horizontal
|
||||
? Rect.width() : Rect.height());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user