Skip to content

Commit

Permalink
Added hints for docks so left and right use full height and top and b…
Browse files Browse the repository at this point in the history
…ottom nest between left and right docks

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8999 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Aug 6, 2008
1 parent 85787c7 commit cf93cc2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -321,6 +321,16 @@ static void customSrsValidation_(QgsSpatialRefSys* srs)

mSplash->showMessage(tr("Setting up the GUI"), Qt::AlignHCenter | Qt::AlignBottom);
qApp->processEvents();

// Make the right and left docks consume all vertical space and top
// and bottom docks nest between them

setCorner(Qt::TopLeftCorner, Qt::LeftDockWidgetArea);
setCorner(Qt::BottomLeftCorner, Qt::LeftDockWidgetArea);
setCorner(Qt::TopRightCorner, Qt::RightDockWidgetArea);
setCorner(Qt::BottomRightCorner, Qt::RightDockWidgetArea);


createActions();
createActionGroups();
createMenus();
Expand Down

0 comments on commit cf93cc2

Please sign in to comment.