[Kde-games-devel] KsirK ready for kdegames ?

Matt Williams matt at milliams.com
Thu Jan 25 23:16:42 CET 2007


On Thursday 25 January 2007 21:55, Kleag wrote:
> Le mercredi 24 janvier 2007 23:12, Albert Astals Cid a écrit :
> >  * If the map does not fit in the window i get no scrollbars
> It's a feature, not a bug :-) Because I find scrollbars ugly with this kind
> of game. This is why there was a scrolling map using window borders. But,
> without this scrolling, this is quite problematic...

Can you not just resize the map with a 
QGraphicsView::fitInView(QGraphicsView::scene()->sceneRect(), 
Qt::KeepAspectRatio); 
type call?

I haven't tried the game yet. I'll give it a go tomorrow and give you some 
feedback.

Regards, 
Matt Williams
http://milliams.com


More information about the kde-games-devel mailing list