Version: trunk (using Devel) Installed from: Compiled sources OS: Linux When a KFontSizeAction is in a toolbar, the current font size is not visible because it is hidden by a clear button. The clear button should not be there for a KFontSizeAction, only for normal KLineEdits.
Created attachment 23826 [details] Screenshot of the problem
SVN commit 783422 by aseigo: don't show the clear button, even if requested, when we don't have enough room inside the line edit to make it useful tested with: kspread's toolbar font size combo, resizing konqi's location edit by sizing the window, okular's zoom controls and kfiledialog. works as expected now in all situations. BUG:158918 M +25 -12 klineedit.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=783422