Bug 234002

Summary: Identity list sizing issue
Product: [Applications] kopete Reporter: Christian Muehlhaeuser <muesli>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Attachments: Proposed patch to fix this bug

Description Christian Muehlhaeuser 2010-04-11 03:40:39 UTC
Version:            (using KDE 4.4.2)
Installed from:    Ubuntu Packages

Clicking the bottom-right button in the main-window brings up the list of accounts in my default identity. Having three accounts, the list doesn't have a proper size-hint. It cuts off in the middle of the third account and displays a nasty vertical scrollbar on the right side of the list.

Expected behaviour: Resize the identity list so that all items fit in there without a scrollbar. Maybe let the users resize the occupied area themselves by using a vertical QSplitter.
Comment 1 Christian Muehlhaeuser 2010-05-11 04:54:23 UTC
Created attachment 43449 [details]
Proposed patch to fix this bug

Fixes identity list sizing issues. Looking at the ItemDelegate's sizeHint() isn't enough. Some extra spacing is required by QListWidget.

QListWidget::sizeHintForRow( 0 ) does the trick.
Comment 2 Christian Muehlhaeuser 2010-05-17 06:51:21 UTC
Committed to trunk and 4.4 branch, updated 4.4 branch changelog. See reviewboard for more info:

http://reviewboard.kde.org/r/3989/