[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/games/magazynier
From:       Niels Slot <nielsslot () gmail ! com>
Date:       2010-10-31 12:33:09
Message-ID: 20101031123309.229D3AC8A0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1191561 by nielsslot:

Align the scene top-left in the view.

 M  +1 -0      window.cpp  


--- trunk/playground/games/magazynier/window.cpp #1191560:1191561
@@ -62,6 +62,7 @@
 	m_view = new QGraphicsView();
 	m_view->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
 	m_view->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
+	m_view->setAlignment(Qt::AlignLeft | Qt::AlignTop);
 
 	m_undoStack = new KUndoStack(this);
 	setupActions();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic