[PATCH] make kselect, kxyselect widgets use a styled border

Luciano Montanaro mikelima at cirulla.net
Sat May 28 15:32:04 BST 2005


Currently, these classes simply draw a bevel around their contents.
This patch makes them use the sunken PE_Panel primitive.
You can check the effect it has on the widgets using the colors kcm module.

Additionally, it makes the KXYSelect border at least as wide as the KSelect
frame. These classes are often used together, and I think that makes them look 
a bit better in this case.

I had to change much more than what I thought it wuld need...

There are other classes that could use the same treatment.

With styles like highcontrast, unstyled widgets pop out quite a lot.

I'd like to commit this change, is it ok with everybody?

-- 
Luciano Montanaro //
                \X/ mikelima at cirulla.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kselect.cpp.patch
Type: text/x-diff
Size: 7573 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050528/ae1f7d57/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050528/ae1f7d57/attachment.sig>


More information about the kde-core-devel mailing list