SVN commit 812237 by aseigo: proper scaling and sizing; this could be a lot prettier if the pieces weren't scaled but rather resized. no tie for that otday, i just wnat it to actually basically work again. M +1 -1 fifteen.cpp M +2 -1 fifteenPuzzle.cpp --- trunk/extragear/plasma/applets/fifteenPuzzle/src/fifteen.cpp #812236:812237 @@ -136,7 +136,7 @@ m_pieces[i]->showNumeral(m_numerals); } - update(boundingRect()); + update(); } void Fifteen::setNumerals(bool show) --- trunk/extragear/plasma/applets/fifteenPuzzle/src/fifteenPuzzle.cpp #812236:812237 @@ -63,7 +63,8 @@ void FifteenPuzzle::constraintsEvent(Plasma::Constraints constraints) { if (constraints & Plasma::SizeConstraint) { - QSizeF size = this->geometry().size(); + QSizeF size = contentsRect().size(); + board->resetTransform(); board->scale(size.width() / 192, size.height() / 192); } }