[Kmymoney-devel] [Bug 290820] New: Each line in report legend is a different size

Ian Neal iann_bugzilla at blueyonder.co.uk
Fri Jan 6 19:26:39 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=290820

           Summary: Each line in report legend is a different size
           Product: kmymoney4
           Version: git master
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: iann_bugzilla at blueyonder.co.uk


Created an attachment (id=67522)
 --> (http://bugs.kde.org/attachment.cgi?id=67522)
Screenshot of badly formatted legend

Version:           git master (using KDE 4.7.4) 
OS:                Linux

The report contains a badly formatted legend.

Reproducible: Always

Steps to Reproduce:
1/ Create a forecast report with a number of different accounts selected that
vary in name length
2/ Run report and look at legend

Actual Results:  
1/ Legend with a variety of font sizes

Expected Results:  
1/ Legend with all lines being the same font size

I guess there are a number of ways of resolving this:
1/ Pick the smallest font to be able to fit the longest line in and use that
for all lines
2/ Truncate lines over a certain length and then use the smallest font to be
able to fit the longest line in and use that for all lines (maybe a
configurable maximum length)
3/ Have a configurable fixed font size for reports (either global and/or per
report)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list