Bug 374866

Summary: Dialog for adding a vCard file has text layout issues (text cut off)
Product: [Frameworks and Libraries] Akonadi Reporter: Elias Probst <mail>
Component: VCard file resourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: GIT (master)   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot showing cut-off text in vCard file dialog

Description Elias Probst 2017-01-10 12:54:54 UTC
Created attachment 103326 [details]
Screenshot showing cut-off text in vCard file dialog

The dialog for adding vCard files has layout issues - the text describing the various options is cut off in various places (see also attached screenshot).

Running kdepim-runtime from git master 5ea7f32ea36b
Qt 5.7.1
Comment 1 Christoph Feck 2017-01-10 17:50:11 UTC
Adding setMinimumSize(sizeHint()) should work around the issue with word-wrapped labels.
Comment 2 Laurent Montel 2017-01-11 08:02:11 UTC
Git commit 4d998c27dc0cb41e8b282aa1d9ea41e7c443e8cb by Montel Laurent.
Committed on 11/01/2017 at 08:02.
Pushed by mlaurent into branch 'master'.

Allow to show text. QLabel + wordwrap doesn't work.

So I replaced it with qtextedit in readonly

Adding  setMinimumSize(sizeHint()) doesn't work when we add it on each
qlabel

M  +84   -60   resources/shared/singlefileresource/singlefileresourceconfigdialog_desktop.ui
M  +1    -1    resources/shared/singlefileresource/singlefileresourceconfigdialogbase.cpp

https://commits.kde.org/kdepim-runtime/4d998c27dc0cb41e8b282aa1d9ea41e7c443e8cb