Use custom QScrollArea with size hint not limited by font size

Authored by valeriymalov on Aug 8 2018, 1:42 PM.

Description

Use custom QScrollArea with size hint not limited by font size

Summary:
For some reason original QScrollArea has constraint on a size hint
This causes large KCMShell pages open in relatively small windows,
because QScrollArea inside reports small size hint

BUG: 389585

Test Plan:
patched 5.48.0 with this, tested networkmanager and few other kcms,
they now seem to open in full size (except for kscreen which has custom sizehint,
it probably needs size hint for the QML area specifically, not the whole window;
and except for opengl that has it's own scrollable area which needs a size hint too)

Reviewers: Frameworks, ngraham

Reviewed By: ngraham

Subscribers: ngraham, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D14692

Details

Committed
valeriymalovAug 13 2018, 8:55 AM
Reviewer
ngraham
Differential Revision
D14692: Use custom QScrollArea with size hint not limited by font size
Parents
R295:ae903cd76715: GIT_SILENT Upgrade KF5 version to 5.50.0.
Branches
Unknown
Tags
Unknown