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

List:       kde-commits
Subject:    KDE/kdeedu/parley/src/practice
From:       Frederik Gladhorn <frederik.gladhorn () gmx ! de>
Date:       2007-09-30 22:45:46
Message-ID: 1191192346.296499.14618.nullmailer () svn ! kde ! org
[Download RAW message or body]

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 @@
     <x>0</x>
     <y>0</y>
     <width>388</width>
-    <height>525</height>
+    <height>305</height>
    </rect>
   </property>
   <property name="windowTitle" >
@@ -24,7 +24,7 @@
      <property name="minimumSize" >
       <size>
        <width>300</width>
-       <height>300</height>
+       <height>80</height>
       </size>
      </property>
     </widget>


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

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