Version: (using KDE 4.0.80) Installed from: Ubuntu Packages OS: Linux I suppose the intended position of textboxes' clear button is to be centered vertically, but there are places where the button shows displaced downwards. I suppose is has to do with the textbox being shorter than expected.
Created attachment 25406 [details] Shows the displaced clear buttons This screenshot shows the clear button in systemsettings and kopete's search bar being displaced.
clearbutton is part of kdelibs, and is not a style thing - reassigning
Using KDE 4.1.00 (KDE 4.1.0) (KDEmod) in ArchLinux i686: In SystemSettings I see the clear button a bit misplaced to the bottom. (see screenshot) In Dolphin it's totally centered. In Kopete the clear button is positioned like in SystemSetting Can you test with 4.1 ?
Created attachment 26513 [details] Clear button a bit misplaced in SystemSettings textbox
It still happens with 4.1 :(
Can you still reproduce this bug with a recent KDE version? (4.1.3 / 4.2beta2 / 4.2svn) ? Thanks :)
(In reply to comment #6) > Can you still reproduce this bug with a recent KDE version? (4.1.3 / 4.2beta2 / > 4.2svn) ? Thanks :) > Yeah, it still happen with the kubuntu 4.2 beta packages.
@Luis: have you tried to use another font style or size ? Is the "clear button" in KDE4.2 like in the screenshot in comment 4 or the one in your comment 1. ? Thanks :)
(In reply to comment #8) > @Luis: have you tried to use another font style or size ? Is the "clear button" > in KDE4.2 like in the screenshot in comment 4 or the one in your comment 1. ? > Thanks :) > Well I'been making some tests, and it seems to happen more strongly in the kopete contact filter textbox than in other textboxes and it happen more strongly when using Liberation Sans than using other fonts, at the same sizes. With Liberation Sans is like in the screenshot I submited, and when using other fonts is like in the one attached to comment 4.
KLineEdit uses the full widget rect to center the clearButton. It should use the styles' contentRect.
The button rendering is implemented in Qt5, and won't fixed in kdelibs4.