Enable resizing the overlayed dock widgets
Fixed WidgetResizeHandler to not allow it to resize the overlay bigger than its parent For issue #116 The size isn't remembered though. Next time you open the overlay it will have the previous size.
This commit is contained in:
@@ -429,8 +429,8 @@ void MainWindowBase::overlayOnSideBar(DockWidgetBase *dw)
|
||||
d->updateOverlayGeometry();
|
||||
|
||||
// Uncomment once I'm happy with the resizing
|
||||
//auto resizeHandler = new WidgetResizeHandler(true, frame);
|
||||
//resizeHandler->setAllowedResizeSides(d->allowedResizeSides(sb->location()));
|
||||
auto resizeHandler = new WidgetResizeHandler(true, frame);
|
||||
resizeHandler->setAllowedResizeSides(d->allowedResizeSides(sb->location()));
|
||||
|
||||
frame->QWidgetAdapter::show();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user