Bug 264103 - Ledger View Account Scroll Box too narrow
Summary: Ledger View Account Scroll Box too narrow
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: SVN
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 19:09 UTC by allan
Modified: 2011-03-19 15:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patches to allow stretching of combo boxes (2.15 KB, patch)
2011-03-17 23:58 UTC, allan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description allan 2011-01-23 19:09:25 UTC
Please can the Ledger View account scrollbox/drop-down be made a little wider (1 to 1.5cm)?

I have a number of investment accounts holding the same security.  To distinguish them, they have a suffix for the year of initial purchase.  I can't tell for certain which one is displayed as the drop-down doesn't show the complete name, and if I select one, the displayed name overlays the down arrow so still can't be seen clearly.  I would imagine the search bar could be narrower without much if any loss of functionality.

Thanks
Comment 1 Ron 2011-01-24 05:04:01 UTC
I have exactly the same problem and cannot understand why the search bar has to be so wide and the Accounts Dropdown list narrow
Comment 2 Marko Käning 2011-01-30 14:35:57 UTC
Have the same issue on my MacOSX.
A parallel install of KMM 4.5.0 on a virtual OpenSUSE, however, is just fine, i.e. the account selection box is wide enough to display the account names in full length.
Would be great to see the same on MacOSX, but I'm afraid it might be an issue with QT or KDE rather than a KMM bug.
Comment 3 allan 2011-03-17 23:58:17 UTC
Created attachment 58130 [details]
Patches to allow stretching of combo boxes

Ledger View and Investment View Account combo boxes are too narrow.
Comment 4 allan 2011-03-18 00:00:17 UTC
Having been bothered by this problem again, I had a look and enclose a patch file, allowing stretching of the layout, both for Ledger View and also for Investment View, which has the same issue.

Hope this approach is OK.  If they look OK, I can do the commit.
Comment 5 Marko Käning 2011-03-18 00:35:43 UTC
Great Allan, it works on MacOSX!!!
Thanks so much.
I think you can commit it, if there are no objections from Linux. (I did not test this patch on my Linux virtual machine yet.)
Comment 6 Thomas Baumgart 2011-03-18 08:10:40 UTC
Your modification does not make a difference here on my dev system (openSUSE 11.2 and KDE 4.3.5). So go ahead and apply it if it really helps to solve your problems. Just make sure that you don't change things by accident that you don't want to change (e.g. the height of the investment view) maybe by using a simple editor to add the stretch factor into the original file.
Comment 7 allan 2011-03-18 12:51:39 UTC
Having been bothered by this problem again, I had a look and enclose a patch file, allowing stretching of the layout, both for Ledger View and also for Investment View, which has the same issue.

Hope this approach is OK.(In reply to comment #6)
> Your modification does not make a difference here on my dev system (openSUSE
> 11.2 and KDE 4.3.5). So go ahead and apply it if it really helps to solve your
> problems. Just make sure that you don't change things by accident that you
> don't want to change (e.g. the height of the investment view) maybe by using a
> simple editor to add the stretch factor into the original file.

I'd used Designer to modify the UI file, and I'd noticed the widget height had grown by 1.  This time as suggested, I've just used an editor to add the stretch factor.  Confirmed that combobox widths can now stretch satisfactorily.

Committed both changes as Version 4.5.90-svn1225229.
Comment 8 allan 2011-03-19 15:26:36 UTC
(In reply to comment #6)
> Your modification does not make a difference here on my dev system (openSUSE
> 11.2 and KDE 4.3.5). 

Just a bit puzzled about this.  Do you mean it makes no harmful difference, or that it makes no difference at all?

Here, when I stretch these two windows, the combobox also stretches, allowing me to see the full account name, both before selecting and after.  It also seems to help Marko on his Apple.
Comment 9 Marko Käning 2011-03-19 15:32:11 UTC
I think he just wants to say that there is no negative effect on Linux. :-)

I've already upgraded KMM4 on MacPorts to the latest version. That issue is solved, I'd say.