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

List:       kde-games-devel
Subject:    [Kde-games-devel] Cosmetic patch for kmahjongg
From:       Médéric BOQUIEN <mederic.boquien () laposte ! net>
Date:       2003-05-20 22:46:23
[Download RAW message or body]

Hello,

Thank you for integrating my previous tiny patch. Here is another one. It is 
purely cosmetic. It permits to align vertically the titles in the highscores. 
Without this patch, "Name", "Score" and "Time" are lower than "Pos" and 
"Board". Default QT behaviour for alignment seems to work better. The diff is 
against HEAD from this evening.

Thank you in advance,

Médéric

P.S : is there a document explaining how to make clean patches? I have checked 
patches from developpers on kde-devel and they seem more path independant. I 
fear mines can't always work as is.
["cosmetic.diff" (text/x-diff)]

--- ../../kdegames/kmahjongg/HighScore.cpp	2003-05-20 23:41:38.000000000 +0200
+++ HighScore.cpp	2003-05-20 23:56:39.000000000 +0200
@@ -74,7 +74,6 @@
 	qtarch_Label_4->setGeometry( 40, 45, 150, 30 );
 	qtarch_Label_4->setFrameStyle( 50 );
 	qtarch_Label_4->setText( i18n("Name") );
-	qtarch_Label_4->setAlignment( 289 );
 	qtarch_Label_4->setFont(fnt);
 
 
@@ -92,7 +91,6 @@
 	qtarch_Label_5->setGeometry( 270, 45, 70, 30 );
 	qtarch_Label_5->setFrameStyle( 50 );
 	qtarch_Label_5->setText( i18n("Score") );
-	qtarch_Label_5->setAlignment( 289 );
 	qtarch_Label_5->setFont(fnt);
 
         // time
@@ -101,7 +99,6 @@
         qtarch_Label_6->setGeometry( 340, 45, 70, 30 );
         qtarch_Label_6->setFrameStyle( 50 );
         qtarch_Label_6->setText( i18n("Time") );
-        qtarch_Label_6->setAlignment( 289 );
         qtarch_Label_6->setFont(fnt); 
 
 


_______________________________________________
kde-games-devel mailing list
kde-games-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-games-devel


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

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