Making KComboBox a bit bigger if it's editable

Albert Astals Cid aacid at
Thu Jun 12 23:02:50 BST 2008

Long Story:
 * You have an KSelectAction that when plugged in a toolbar creates a 
KComboBox that has a KLineEdit.
 * KLineEdit has that ┬┐cool? clear button, KLineEdit size hinting does not 
take it into account because when typing text does not go underneath the 
clear button

But when using an editable KComboBox with a long enough text it will happen 
that the text goes underneath the clear button.

The attach solves the problem in a not so elegant way, but i could not think 
of a better one, suggestions welcome.


P.S: This fixes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kcomboboxeditable.patch
Type: text/x-diff
Size: 2228 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list