Bug 142769 - kruler: Distance display clipped
Summary: kruler: Distance display clipped
Status: RESOLVED FIXED
Alias: None
Product: kruler
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Mathias Soeken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 23:37 UTC by Olivier Vitrat
Modified: 2008-12-17 19:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Vitrat 2007-03-09 23:37:42 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Debian testing/unstable Packages

This has been reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406745

The distance display does not dynamically adjust to the displayed value.
With 3-digit values, the "x" in "px" is clipped; with 4-digit values,
"px" is clipped at the "p".
Comment 1 Mathias Soeken 2008-12-17 19:54:01 UTC
SVN commit 898218 by msoeken:

This fixes some clipping bugs with the two labels.

I created a new widget QAutoSizeLabel which automatically resizes itself whenever the text changes.

CCBUG: 142769
CCBUG: 143111


 M  +1 -1      CMakeLists.txt  
 M  +9 -7      klineal.cpp  
 M  +3 -3      klineal.h  
 A             qautosizelabel.cpp   [License: GPL (v2+)]
 A             qautosizelabel.h   [License: GPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=898218