Using the selected text color in the date picker

Reinhold Kainhofer reinhold at kainhofer.com
Thu Mar 25 11:17:06 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attached is a patch that fixes the KDateTable to use the correct text color 
for the selected text. So far, it always used white (hardcoded) for the 
selected day, even if the system-wide color setting used a light selection 
color and a dark selected text color. This was reported as bug 78162 for 
korganizer, but is a general date picker bug. 

Okay to apply the patch and close the report?

The other problem in the date table is the hardcoded gray color for days 
outside the current month. Any ideas how to determine that value 
automaticallly from the system-wide color settings? Using inactiveTextColor 
doesn't work, as that would be white text on white background here...

Reinhold
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAYr+1TqjEwhXvPN0RAsrmAJwI8ECBubZwN0AXbJd5BaqjfbOPzgCfaeZo
qjWNzAHhhTOXmsjamM3btsg=
=+YfB
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2004-03-25_KDateTable_UseSystemColors_Bug78162.patch
Type: text/x-diff
Size: 1628 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040325/2aa246a0/attachment.patch>


More information about the kde-core-devel mailing list