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

List:       kde-commits
Subject:    KDE/kdegames/ksudoku/src/gui/views
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-11-01 1:48:44
Message-ID: 1193881724.966691.19356.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 731576 by apaku:

revert my change to fix bug 151338 as it breaks the general display.

I didn't find another way to move the markers a bit down as the whole painting/sizing \
code is pretty well scattered and without much logic

 M  +1 -3      qsudokubutton.cpp  


--- trunk/KDE/kdegames/ksudoku/src/gui/views/qsudokubutton.cpp #731575:731576
@@ -242,9 +242,7 @@
 {
 	int w = m_ksView.width () / m_ksView.game().puzzle()->solver()->g->sizeX();
 	int h = m_ksView.height() / m_ksView.game().puzzle()->solver()->g->sizeY();
-	//the additional space vertically is needed so the markers are also visible
-	//under the thicker separation lines
-	setGeometry( m_x*(w), m_y*(h+4), w, h+8);
+	setGeometry( m_x*(w), m_y*(h), w, h);
 
 	//m_qpixmap = m_qpixmap.scaled(size()); //TODO destroy old one //TODO PORT
 	m_needRedraw = true;//draw();


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

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