Bug 158918 - Content of KFontSizeAction combobox hidden by unneeded clear button
Summary: Content of KFontSizeAction combobox hidden by unneeded clear button
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 19:26 UTC by Thomas McGuire
Modified: 2008-03-08 02:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the problem (5.84 KB, image/png)
2008-03-07 19:28 UTC, Thomas McGuire
Details

Note You need to log in before you can comment on or make changes to this bug.
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