Skip to content

Commit

Permalink
Re #10662. Fixed resizing in docked mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Dec 8, 2014
1 parent c0e3414 commit e9121f2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Code/Mantid/MantidPlot/src/MdiSubWindow.cpp
Expand Up @@ -556,6 +556,10 @@ void MdiSubWindow::resize(int w, int h)
setGeometry(x(), y(), w, h);
pw->adjustSize();
}
else
{
QFrame::resize(w,h);
}
}

/**
Expand All @@ -569,6 +573,10 @@ void MdiSubWindow::resize(const QSize& size)
setGeometry(pw->x(), pw->y(), size.width(), size.height());
pw->adjustSize();
}
else
{
QFrame::resize(size);
}
}

QSize MdiSubWindow::sizeHint() const
Expand Down

0 comments on commit e9121f2

Please sign in to comment.