|
|
@ -404,11 +404,7 @@ CSVDoc::View::View (ViewManager& viewManager, CSMDoc::Document *document, int to
|
|
|
|
width = std::max(width, 300);
|
|
|
|
width = std::max(width, 300);
|
|
|
|
height = std::max(height, 300);
|
|
|
|
height = std::max(height, 300);
|
|
|
|
|
|
|
|
|
|
|
|
// trick to get the window decorations and their sizes
|
|
|
|
resize (width, height);
|
|
|
|
show();
|
|
|
|
|
|
|
|
hide();
|
|
|
|
|
|
|
|
resize (width - (frameGeometry().width() - geometry().width()),
|
|
|
|
|
|
|
|
height - (frameGeometry().height() - geometry().height()));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mSubViewWindow.setDockOptions (QMainWindow::AllowNestedDocks);
|
|
|
|
mSubViewWindow.setDockOptions (QMainWindow::AllowNestedDocks);
|
|
|
|
|
|
|
|
|
|
|
|