[controls/formlayout] Don't attempt to reset implicitWidth

Authored by cblack on Mar 26 2020, 7:44 PM.

Description

[controls/formlayout] Don't attempt to reset implicitWidth

Summary:
When a FormLayout is in wide mode, it attempts to
reset the implicitWidth of a GridLayout by assigning undefined to it.
This doesn't work because:

  1. Layouts provide their own implicit width
  2. You can't reset an implicit size with undefined, hence the error messages obtained from trying to do so

Reviewers: Kirigami, ngraham

Reviewed By: Kirigami, ngraham

Subscribers: ngraham, plasma-devel

Tags: Kirigami

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

Details