FormLayout: Fix label height if wide mode is false

Authored by jbbgameich on Nov 6 2019, 4:41 PM.

Description

FormLayout: Fix label height if wide mode is false

Summary:
previously the height of the label was based on the content's height. However this doesn't work in non wide mode. With this change it preserves the previous behaviour in wide mode were it makes sense but uses a constant height in non-wide mode.

Before:

After:

Test Plan: FormLayouts with large content items don't have large margins between the items anymore when wideMode = false.

Reviewers: Kirigami, Plasma:_mobile, mart

Reviewed By: Kirigami, Plasma:_mobile, mart

Subscribers: mart, plasma-devel

Tags: Kirigami

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

Details

Committed
jbbgameichNov 6 2019, 5:26 PM
Reviewer
Kirigami
Differential Revision
D25175: FormLayout: Fix label height if wide mode is false
Parents
R169:3766313d4e20: don't show the handle by default when not modal
Branches
Unknown
Tags
Unknown