Bug 258257

Summary: New headline looks odd for multi line titles
Product: [Applications] kmymoney Reporter: Thomas Baumgart <tbaumgart>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Baumgart 2010-11-29 08:36:06 UTC
Version:           SVN trunk (using KDE 1.2) 
OS:                Linux

Please check the title line above the views wrt to the scheduled transactions view. It is spread over two lines and looks odd.

Reproducible: Always
Comment 1 Cristian OneČ› 2010-11-29 08:46:08 UTC
I've tested this in KDE version >= 4.5. This is caused by this line in kmymoneyview.cpp:186 and AFAIK only on KDE version <= 4.3.
m_scheduleViewFrame = m_model->addPage(m_scheduledView, i18n("Scheduled\ntransactions"));

A good fix would be at kmymoneyview.cpp:1656 to replace '\n' with ' ' in m_model->data(current).toString() - maybe conditioned by the same version test.
Comment 2 Thomas Baumgart 2010-11-29 16:39:22 UTC
SVN commit 1202082 by tbaumgart:

Replace \n with blank in title label

BUG: 258257

 M  +1 -0      kmymoneytitlelabel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1202082
Comment 3 Thomas Baumgart 2010-11-29 16:41:46 UTC
SVN commit 1202083 by tbaumgart:

Replace \n with blank in title label.

Backported to stable branch.

BUG: 258257

 M  +1 -0      kmymoneytitlelabel.cpp  


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