make handle follow arbitrary height of the drawer

Authored by camiloh on Jul 22 2019, 2:01 PM.

Description

make handle follow arbitrary height of the drawer

Summary:
If the height of the drawer is set to a different value from the applicationWindow height, then the drawer handle is placed at the bottom of the drawer, following the new arbitrary height value.

with height property unset:

with the height property set to an arbitrary value:

use case:
when there is a Page with a footer and it is not inside the pageStack, the handle drawer covers the footer, by setting now the drawer height to application window height minus the height of the footers the content is now not overlapping. This allows placing the drawer and handle more freely.

before:

after:

Reviewers: mart, Kirigami

Reviewed By: mart, Kirigami

Subscribers: camiloh, plasma-devel

Tags: Kirigami

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

Details

Committed
camilohJul 25 2019, 12:57 PM
Reviewer
Kirigami
Differential Revision
D22648: make handle follow arbitrary height of the drawer
Parents
R169:00ccd9019816: Fix typo
Branches
Unknown
Tags
Unknown