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

List:       kde-commits
Subject:    kdeedu/khangman/khangman
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2005-03-30 21:58:20
Message-ID: 20050330215820.B9EDD4A6 () office ! kde ! org
[Download RAW message or body]

CVS commit by annma: 

slight modification in font size


  M +5 -2      khangmanview.cpp   1.85


--- kdeedu/khangman/khangman/khangmanview.cpp  #1.84:1.85
@@ -207,7 +207,10 @@ void KHangManView::paintHangman()
     paint.begin(paletteBackgroundPixmap());
     paint.setPen( QColor(148, 156, 167));
-    paint.setFont(QFont("Steve", height()/14));
+    QFont f = QFont("Steve");
+    f.setPointSize(height()/16);
+    paint.setFont(f);
+    //paint.setFont(QFont("Steve", height()/14));
     QString misses = i18n("Misses");
-    paint.drawText(width()/2, height()/12, misses);
+    paint.drawText(width()/2+width()/30, height()/12, misses);
     paint.setFont(QFont("Bitstream Charter", height()/13, QFont::Bold));
     paint.drawText( width()/2+width()/4, 0, 0, 0, AlignLeft|AlignTop|DontClip, missedL );


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

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