Bug 374866 - Dialog for adding a vCard file has text layout issues (text cut off)
Summary: Dialog for adding a vCard file has text layout issues (text cut off)
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: VCard file resource (show other bugs)
Version: GIT (master)
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-10 12:54 UTC by Elias Probst
Modified: 2017-01-11 08:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot showing cut-off text in vCard file dialog (67.98 KB, image/png)
2017-01-10 12:54 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
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