Bug 142769

Summary: kruler: Distance display clipped
Product: [Applications] kruler Reporter: Olivier Vitrat <ovit.debian>
Component: generalAssignee: Mathias Soeken <soeken>
Status: RESOLVED FIXED    
Severity: normal CC: soeken
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

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