Bug 158918

Summary: Content of KFontSizeAction combobox hidden by unneeded clear button
Product: [Frameworks and Libraries] kdelibs Reporter: Thomas McGuire <mcguire>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of the problem

Description Thomas McGuire 2008-03-07 19:26:41 UTC
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.
Comment 1 Thomas McGuire 2008-03-07 19:28:12 UTC
Created attachment 23826 [details]
Screenshot of the problem
Comment 2 Aaron J. Seigo 2008-03-08 02:45:31 UTC
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