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