From kde-commits Sun Sep 30 22:45:46 2007 From: Frederik Gladhorn Date: Sun, 30 Sep 2007 22:45:46 +0000 To: kde-commits Subject: KDE/kdeedu/parley/src/practice Message-Id: <1191192346.296499.14618.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=119119235312924 SVN commit 719334 by gladhorn: less min height for the graphics view and more distance to borders for mixed letters M +1 -1 imagepracticedlg.cpp M +2 -2 imagepracticedlg.ui --- trunk/KDE/kdeedu/parley/src/practice/imagepracticedlg.cpp #719333:719334 @@ -93,7 +93,7 @@ for ( int i = 0; i < translation.length(); i++ ) { QGraphicsTextItem* textItem = new QGraphicsTextItem( QString(translation[i]) ); - textItem->translate( 10 + random.getLong(imageGraphicsView->width() - 20 ), 10 + random.getLong(imageGraphicsView->height() -20 ) ); + textItem->translate( 10 + random.getLong(imageGraphicsView->width() - 30 ), 10 + random.getLong(imageGraphicsView->height() -30 ) ); m_answerTextItems.append(textItem); imageGraphicsView->scene()->addItem( textItem ); } --- trunk/KDE/kdeedu/parley/src/practice/imagepracticedlg.ui #719333:719334 @@ -6,7 +6,7 @@ 0 0 388 - 525 + 305 @@ -24,7 +24,7 @@ 300 - 300 + 80